Desiliciouskitchen-Programming languages are used to create programs that consist of a collection of code. The codes are arranged into blocks to perform certain processes.
Based on the level of programming languages are divided into 3, namely high-level languages, middle-level languages and low-level languages.
1. High-level Language (High-level Language)
Example: Modula-2, Pascal, COBOL, FORTRAN, BASIC
2. Middle-level Language (Middle-level Language)
This language is easier for humans to understand but more difficult for machines to understand. Example: Java, C++, C, FORTH, php.
3. Low-level Language (Low-level Language)
A language that is only understood by the machine and can be executed directly by the machine. Example: assembler.
- Does not need a compiler because the web browser is able to interpret with HTML
- Easier to learn when compared to other programming languages;
- Faster and lighter than other programming languages
- High risk of exploitation
- Can be used to activate malicious code on the user’s computer;
- Not always supported by various browsers and devices;
- Can be rendered differently on each device which leads to inconsistency
Programming Language: C++
C++ is one of the popular programming languages that has proven to be widely used by practitioners and scientists to develop large-scale programs (applications) such as games, programs for research in the field of science, embedded systems (embedded systems). In fact, C++ can also be used to develop web-based applications, which are often called CGI (Common Gateway Interface).
C++ was developed in 1979 by Bjarne Stroustrup at Bell Laboratories. C++ is formed from the C language with the addition of new features such as classes, virtual functions, operator overloading and multiple inheritance. In 1998 the programming language was standardized by ISO/IEC 14882:1998, better known as C++98. In 2003, C++ underwent a standardization process again under the name of the ISO/IEC 14882:2003 standard which is better known as C++03. Finally, in 2011, to be precise on August 12, C++ was revised and re-standardized under the name ISO/IEC 14882:2011 standard. Again known as non-formal terms C++11.
2. Advantages of C++
- This language supports object-oriented programming or OOP (Object Oriented Programming;
- Faster in terms of execution of C++ language programs;
- The C++ language allows the creation of macro applications due to the support of a large library of functions and classes
- For new programmers it will be easier to memorize C++ keywords because there are only 48 keywords;
- The C++ language is also capable of creating high-quality graphics processor applications.
3. Disadvantages of C++
- A beginner usually has difficulty in using pointers (variables that point to other variables);
- C++ is Case Sensitive, meaning that uppercase and lowercase letters are considered the same (different)
- The number of operators plus the flexibility of writing programs is usually confusing for beginners.