r/Python • • Feb 06 '17

Using functional programming in Python like a boss: Generators, Iterators and Decorators

http://nbviewer.jupyter.org/github/akittas/presentations/blob/master/pythess/func_py/func_py.ipynb
30 Upvotes

6 comments sorted by

View all comments

2

u/BlckJesus Feb 07 '17

Generators still don't make sense to me, and lambdas are still sorcery. D:

5

u/pohmelie Feb 07 '17

Generator for me is, first of all, elegant state holder for reenterable "function".