Hacker News new | past | comments | ask | show | jobs | submit login
Functional Programming with Python – Part 1 (dhananjaynene.com)
83 points by dnene on Feb 23, 2010 | hide | past | favorite | 3 comments



I 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.


quality post!


thx heaps :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: