Hacker News new | ask | show | jobs
by stcredzero 5170 days ago
"The problem with multiline lambdas in Python is that no one knows a good way to indent them."

How about new keyword(s)? "begin" and "end"? I imagine this has thoroughly been discussed ad-nauseum. Is there a good synopsis?

1 comments

Basically, there is no scope or block ending token anywhere else in python. And Guido thinks inline multi-line anonymous functions make programs harder to understand.