Programming languages are divided into: 1. Imperative language; 2. Functional language, a λ operator computable model based on value mapping of mathematical function concepts; 3. Logical language, based on a set of known Formal logic system of rules; 4. Object-oriented language.
#The operating environment of this article: Windows 7 system, Dell G3 computer.
Programming languages are divided into:
1. Imperative language
The semantic basis of this language is to simulate "data storage/data operation" The Turing machine computability model is very consistent with the natural implementation of modern computer architecture. The main way to generate operations is to rely on the side effects of statements or commands. Most modern popular languages are of this type, such as Fortran, Pascal, Cobol, C, C, Basic, Ada, Java, C#, etc. Various scripting languages are also considered to be of this type.
2. Functional language
The semantic basis of this language is the λ operator computable model based on the value mapping of mathematical function concepts. This language is very suitable for calculations for work such as artificial intelligence. Typical functional languages such as Lisp, Haskell, ML, Scheme, F#, etc.
3. Logical language
The semantic basis of this language is a formal logic system based on a set of known rules. This language is mainly used in the implementation of expert systems. The most famous logical language is Prolog.
4. Object-oriented languages
Most modern languages provide object-oriented support, but some languages are directly built on the basic object-oriented model. The semantics of the language's syntax form It's basic object operations. The main pure object-oriented language is Smalltalk.
Although various languages belong to different types, they each support other types of operation modes to varying degrees.
If you want to learn more about programming, please pay attention to the php training column!
The above is the detailed content of What are the categories of programming languages?. For more information, please follow other related articles on the PHP Chinese website!