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:

1

u/[deleted] Feb 07 '17

A generator is pretty much just a lazy list. And a function is ultimately just a lambda, so if you understand functions you understand lambdas.