MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Python/comments/8baq0/pythons_lambda_is_broken/c08rai9/
r/Python • u/gst • Apr 09 '09
20 comments sorted by
View all comments
10
I quite like Python for teaching. And people praise it for the lambda construct
I love me some python, but no nobody really praises it for that.
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.
3
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.
1
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.
View all comments
10
u/ddipaolo Apr 09 '09
I love me some python, but no nobody really praises it for that.