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