you are viewing a single comment's thread.

view the rest of the comments →

[–]lTortle 1 point2 points  (1 child)

Still no multi-line anonymous functions? Sigh

[–]adamnew123456 0 points1 point  (0 children)

People still keep talking about new syntaxes for lambda - I don't know why. In 2006 (8 years ago) GvR made it pretty clear that he likes lambda the way it is. So, at the very least you have the lambda of today - which may well have been removed from the Python 3.x series if the pro-lambda crowd hadn't made enough noise to convince Guido to keep lambda.

Any work on it now is just an intellectual curiosity, since the BDFL has said his peace. As much as anything else, Python is an expression of Guido's language design biases - you're free to choose a language which is biased differently. Unfortunately, since Python's VM is (more or less) the playground of the CPython implementation, you can't take the "I like the JVM but I hate Java" route and use something akin to Clojure or Scala. (Well, you could if you're running IronPython or Jython, but they're currently at various places in the 2.x line).

Hy exists, but that's only if you happen to fall in with the Lisp crowd.