Functional Python Programming - Second Edition
Learn |
|
---|---|
About |
If youβre a Python developer who wants to discover how to take the power of functional programming (FP) and bring it into your own programs, then this book is essential for you, even if you know next to nothing about the paradigm. Starting with a general overview of functional concepts, youβll explore common functional features such as first-class and higher-order functions, pure functions, and more. Youβll see how these are accomplished in Python 3.6 to give you the core foundations youβll build upon. After that, youβll discover common functional optimizations for Python to help your apps reach even higher speeds. Youβll learn FP concepts such as lazy evaluation using Pythonβs generator functions and expressions. Moving forward, youβll learn to design and implement decorators to create composite functions. You'll also explore data preparation techniques and data exploration in depth, and see how the Python standard library fits the functional programming model. Finally, to top off your journey into the world of functional Python, youβll at look at the PyMonad project and some larger examples to put everything into perspective. |
Features |
|
Page Count | 408 |
Course Length | 12 hours 14 minutes |
ISBN | 9781788627061 |
Date Of Publication | 12 Apr 2018 |
Using tuples to collect data |
Using named tuples to collect data |
Building named tuples with functional constructors |
Avoiding stateful classes by using families of tuples |
Polymorphism and type-pattern matching |
Summary |