Re:Leaving Python for JavaScript
by pc2g4d on Friday August 25, 2017 @02:35PM
(#15101006)
I think he's complaining about the fact that lambdas in Python can't be multiline. The equivalent in Javascript can be as big as you want. That means in Python you have to separately define your function and then refer to it, whereas in JS you can just give it all in one go.
JS:
Python: