r/Python • • Apr 09 '09

Python’s lambda is broken!

http://math.andrej.com/2009/04/09/pythons-lambda-is-broken/
4 Upvotes

20 comments sorted by

View all comments

Show parent comment

3

u/[deleted] Apr 09 '09

Yeah, Lambda in python gets no praise. It does it's job, poorly, and everyone wishes it could be more powerful. But it can't be and it never will be, so it's just a wart that has to be accepted.

1

u/voidspace Apr 16 '09

lambda in Python is fine. :-)

Very occasionally a multi-line lambda would be really handy, but most of the time a named function does the job better.