Python is multi-paradigm: OO or FP.
Useful Functional Programming Techniques :
- Closure: local variables
- Resursion : stop unlimiting looping
- Lambdas : anonymous function for 1-time throw-away functions
- Nested Function: function returns a function as result.
- Decorators : wrap an existing function with additional features without modifying it.
Functional Programming has the following key styles:
1) Lambda function:
2) Map, Filter, Reduce
TechRepublic: 5 programming languages developers love most, and 3 they hate.
Most loved :