Functional Programming with Python – Part 1
blog.dhananjaynene.com
Functional Programming with Python – Part 1
1–5 of 5 posts
Re: Functional Programming with Python – Part 1
#2[deleted]
Re: Functional Programming with Python – Part 1
#3quality post!
Re: Functional Programming with Python – Part 1
#4thx heaps :)
Re: Functional Programming with Python – Part 1
#5I love functional programming, but I've also been repeatedly warned by peers of mine "not to write Haskell in Python." So stuff like currying in Python, for me at least, tends to just be an exercise in obfuscation (just write the damn lambda!), whereas in Haskell there's absolutely no syntactic overhead.
It's also why writing code in Twisted feels so twisted; the syntax is well adapted for imperative and object-oriented code. Not really functional code.
Still, itertools, generators and their ilk are very useful when used tastefully and I encourage all Python programmers to learn about them.