Preface : This article is abstract , First, sort it out and record it , Work slowly to understand .
In short ," Functional programming " It's a kind of " Programming paradigm "(programming paradigm), The methodology of how to write a program .
Common programming paradigms are : Process oriented programming , object-oriented programming , Functional programming .
Python It's a multi paradigm programming language , This includes object-oriented programming , Functional programming .
Higher order function
Partial function
Closure
recursive
The inertia calculation
currying
The code is concise , Fast development
Close to natural language , Easy to understand
Easier code management
Easy to " Concurrent programming "
Hot code upgrades
The runtime is heavily consumed in CPU And storage resources , Poor performance
reference:
Functional programming _ Baidu Encyclopedia
Programming paradigm — The idea behind the programming language - zhoulujun - Blog Garden
七夕來襲!是時候展現專屬於程序員的浪漫了!你打算怎麼給心愛的
Catalog One 、matplotlib.pyplo