By Vasudev Ram
Stupid lambda tricks in Python, on the site www.p-nand-q.com. Seen via a friend. The site also has some other Python stuff.
- Vasudev Ram - Dancing Bison Enterprises
Thursday, October 25, 2012
Subscribe to:
Post Comments (Atom)
2 comments:
That page is so long outdated (no list comprehensions, let alone sorted, or print as a function), and produces code that is far from the zen.
Well, the author did say this on that page:
"This document describes some stupid tricks for using lambda expressions in Python. It is not intended for the "functional programming style" crowd, but for the "wacky geek fun" hackers."
So take it with a pinch of salt :)
Post a Comment