Colon Class § 2.2: Declaration paradigm

Source: Internet
Author: User

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

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.