The book covers the basics of functional programming including function objects, immutability, recursion, iterables, comprehensions and generators. Of these, functional programming is probably the least understood and the least used. Python is not a functional programming language, but it is a multiparadigm language that makes functional programming easy to perform, and easy to mix with other programming styles. Summerfield draws on his many years of python experience to share deep insights into python 3. Discover the power of functional programming, generator functions, lazy evaluation, the builtin itertools library, and monads and create succinct and expressive implementations with functional programming in python. While there is no strict definition of what constitutes a functional language, we consider them to be languages that use functions to transform data. Python is not a functional programming language but it does incorporate some of its concepts alongside other. Functional programming decomposes a problem into a set of functions. It also covers more advanced topics such as closures, memoization, partial functions, currying, functors and monads. The first book written from a completely python 3 viewpoint, programming in pyth on 3 brings together all the knowledge you need to write any program, use any standard or thirdparty python 3 library, and create new library modules of your own.
15 91 1141 1385 1178 522 259 479 514 1251 936 807 1085 1323 764 803 1449 1270 197 1603 424 1578 919 1366 644 64 1075 273 1021 160 1213 105 448 251 176 1135 1225 1050