Wednesday, March 18, 2009

One-liners

Python doesn't seem to be the language you'd immediately turn to if you wanted a one-liner to gazump your programmer buddies (well, at least it isn't for me), but can it be done? You betcha:

Lambda hell.


No way am I going to type this out! Especially as someone has already done this for us. :D

Edit: Forgot to mention who alerted me this monstrosity.

No comments:

Post a Comment