The colon and his students (serial 13)--A paradigm summary

Source: Internet
Author: User
Tags exception handling

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." ”

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.