The important paradigm of lesson two (2)
2.2 Declaration Paradigm--the goal determines the action
Give me a fulcrum, I can move the earth--archimedes
Keywords: programming paradigm, imperative, declarative, functional, logical
Summary: Declarative programming for simple talk
? Questions
What is declarative programming? What is the difference between it and imperative programming?
What is a functional and logical type?
What are the different meanings of variables in imperative programming and declarative programming?
What are the advantages of declarative language? Why isn't an imperative language popular?
Are there any similarities between imperative language and declarative language?
What is the nature of programming? What kind of programming mechanism is used in command, function and logic?
: Explain
The colon quickly shifted the topic: "Let's talk about declarative programming relative to imperative programming (declarative programming)." As the name implies, declarative programming consists of a number of specification (specification) declarations, a series of statements: ' Know this, solve that ', and emphasize ' what to do ' rather than ' how '. Declarative programming is the abstraction of the human brain's way of thinking, that is, the use of mathematical logic or established norms for the inference or operation of known conditions. ”