Functional Programming in Python by David Mertz
ΠΠ°ΡΠ΅Π³ΠΎΡΠΈΡ: Other
ΠΠΎΠ΄Π΅Π»ΠΈΡΡΡΡ:
Python is not a functional programming language, but it is a multi-paradigm language that makes functional programming easy to perform, and easy to mix with other programming styles. In this paper, David Mertz, a director of Python Software Foundation, examines the functional aspects of the language and points out which options work well and which ones you should generally decline.
Mertz describes ways to avoid Pythonβs imperative-style flow control, the nuances of callable functions, how to work lazily with iterators, and the use of higher-order functions. He also lists several third-party Python libraries useful for functional programming.
Π‘ΠΊΠ°ΡΠ°ΡΡ
ΠΠΎΠΌΠΌΠ΅Π½ΡΠ°ΡΠΈΠΈ