Hacker News new | ask | show | jobs
by dragonwriter 1266 days ago
> like multi-line lambdas - pretty basic functionality even for a non-functional-oriented language!

Lambdas with one or more statements instead of a single expression (the actual limitation: “multi-line” is a misnomer) are only an issue because python is a strongly statement-oriented imperative language, and not expression-oriented like most functional and some other languages.