FP in Python
by Boris V.Kuznetsov
Functional programming is a way of writing software applications using only pure functions and immutable values.
Alex Alvin, "Functional Programming Symplified"
What is Functional Programming ?
Can pass/return functions. Can NOT compose
Lambdas, Higher Order Functions
Speed and memory optimized
Filter, Map, Reduce
from functools import partial
List comprehensions, Partial Application, Pure func
Immutable data types
Python vs Scala
How language features impact FP
Disclaimler by creator Guido van Rossum
Python community does NOT recommend FP as a default style of coding in Python.
"import this" and read what the Python code should look like.
Add FP features to your project only if you find a better way to solve YOUR problem