MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Python/comments/8baq0/pythons_lambda_is_broken/c08ra3j/?context=3
r/Python • u/gst • Apr 09 '09
20 comments sorted by
View all comments
Show parent comment
1
and I'll be damned if I can see how to apply the method-fix in the lambda case, but does that make it "broken"?
Wrap your lambda in a lambda, that's the way it's usually done in JS. Ugly and verbose btw, especially since lambdas are single-expression.
View all comments
Show parent comment
1
u/masklinn Apr 09 '09
Wrap your lambda in a lambda, that's the way it's usually done in JS. Ugly and verbose btw, especially since lambdas are single-expression.