Thursday, October 25, 2012

Site: Stupid lambda tricks in Python

By Vasudev Ram

Stupid lambda tricks in Python, on the site Seen via a friend. The site also has some other Python stuff.

- Vasudev Ram - Dancing Bison Enterprises


Joel said...

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.

Vasudev Ram said...

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 :)