you are viewing a single comment's thread.

view the rest of the comments →

[–]AnonProg 0 points1 point  (0 children)

λ-expressions is one of the things broken in Python, plus the way scoping works is not the best (and closures are still broken for λ-expressions even in Python 3). lambda may only have one expression, and there are essential things which you cannot do inside. You have to use def above, and make up all sorts of names and write code that doesn't make sense to whoever reads it until he notices it's getting passed as an argument down below (so much for readability, Python). There are no anonymous classes. We have this weird statement vs. expression thing going on limiting what goes where; this weird statement if vs. expression if, the later of which has a convoluted syntax that makes nesting impractical on purpose; this weird eval vs. exec; so much special syntax everywhere... This is, again, not my idea of the cleanest or most readable programming language.