Python Learning 11: Functional Programming

Source: Internet
Author: User
这也是我第一接触函数式编程这个概念,并不知道是干嘛的?好奇心驱使下学习了一下,有了大致的了解:函数式编程自己的理解:就跟说话一样写程序,这个程序写出来可以直白的告诉人是要干嘛的。以下是我读到的关于函数式编程的文章的描述:

One of the features of functional programming is that it allows the function itself to be passed as a parameter to another function, and also allows a function to be returned! [1]

Functional programming Guidelines: Do not rely on external data, and do not change the value of external data, but return a new value to you. [2]

The idea of functional programming: Using functions as variables, focusing on describing problems rather than how they are implemented, makes the code easier to read. [2]

What are the benefits of functional programming and why is it becoming more and more popular? [3]
1. Simple code, rapid development;
2. Close to natural language, easy to understand;
3. More convenient code management;
4. Easy "Concurrent Programming"

Reference article Links:
[1], functional programming
[2], functional programming
[3], functional programming approach

Here are a few of the good personal sites I met, they are very powerful:
1, http://www.liaoxuefeng.com/
This site can learn: Python, Git
2, http://coolshell.cn
This website can learn a lot, for example ...
3, http://www.ruanyifeng.com/home.html
This site can be learned, haha--poetry

It's all good!

Python Learning 11: Functional Programming

Related Article

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.