4 ms·
Python also has filters maps and lambdas, and lots of third-party support for other functional ideas (e.g. the Toolz library). Though personally I really like
by edanm 4y ago
Python also has filters maps and lambdas, and lots of third-party support for other functional ideas (e.g. the Toolz library).
Though personally I really like itertools and list comprehensions. (And list comprehensions are pretty functional as well, they were inspired by haskell I blieve.)
- xnorswap 4y agoIn my experience lambdas are a lot easier to write with strong types and related tooling.