Hacker News new | ask | show | jobs
by rurban 1356 days ago
Not necessarily. In Perl we called lambda "anonymous sub" for ages, and nobody mixed those up. We also use a handy keyword less syntax to generate, store and use such lambda's. Thus I'm on the "Worse is Better" side, python cannot write proper compilers and cannot decide on proper syntax.

lambda: sub($x) {$x+1} decl sub{shift+1}(args) call

or ruby-like: {shift+1}->list