Paradigm Summary
To the essence and then to the good, to change and then pass its number
--"Wen xin carving dragon · shensi"
After the crowd took a seat, the colon began the fourth lecture: "We have been involved in a number of programming paradigm, although only a brief glance, can also be a glimpse." The present form is summarized as follows--"
Programming paradigm |
Core Concepts |
Program running |
Typical applications |
Command/procedure (imperative/procedural) |
Command/procedure (Command /procedure) |
Command execution |
Interactive, event-driven systems, numerical calculations, etc. |
Declaration type (declarative) |
Functional/Application (Functional /applicative) |
Function (Function) |
Expression evaluation |
Calculus, mathematical logic, game, etc |
Logical type (Logic) |
Assertion (predicate) |
Logical proof |
Machine proof, expert system, natural language processing, etc. |
Object Type (object-oriented) |
Objects (object) |
Information exchange between objects |
Large and complex interactive systems |
Concurrent/parallel-type (Concurrent/parallel) |
Process/Thread (Process /thread) |
Process/thread between communication and synchronization |
Graphical user interface, multitasking systems such as operating systems, servers, computational-intensive systems such as scientific computing, artificial intelligence, etc. |
generic type (Generic) |
Algorithm (algorithm) |
Algorithm instantiation (occurs more than compile time) |
Universal algorithm such as sorting, searching, collection class container, etc. |
Meta Programming (metaprogramming) |
Program (program) |
Dynamically generating code or automatically modifying execution instructions |
Automatic code generation; defining structured configuration files; IDE; compiler; interpreter; artificial intelligence; domain-specific language (DSL) etc. |
Slice Style (aspect-oriented) |
Slice (Aspect) |
Implementing recommendations at the access point |
Log output, code tracking, performance monitoring, exception handling, security checks, transaction management, etc. |
The colon is closed: "There are certainly more than eight programming paradigms, but there is no need to try." Different paradigms are good at winning, there is style of the other without high and low points. Now please speak freely and talk about this period of learning experience. ”
Exclamation mark is a bit complicated: "Through the study of the front, let me have a lot of insight, just--"
"But there's no harm in saying. "See the exclamation mark somewhat hesitant, the colon encourages way."
"Just feel a little--armchair. Exclamation the courage to tell the truth.
Quote: "I think we should learn more about these paradigms, now we have some perceptual knowledge, but they are very superficial and hope to be further expanded." ”
The comma is quite true: "Some places are indefinitely, it sounds very laborious, until the situation programming to feel more relaxed." Can you talk more about the specific programming knowledge, programming skills and programming experience in the future? ”
The full stop patted him on the shoulder: "You want to learn is Shifa, the old pass is the mind." ”