
April 3, 2008
1:49 a.m.
Matt Chisholm wrote:
+1 to handling anonymous functions/lambdas the way JavaScript does. It's the only thing I like better about JavaScript than Python.
Unfortunately, there's no way in Python to have a statement inside of an expression (because statements are delimited by line ends and indentation). Many people have attempted this, none have succeeded. Don't go there, you'll just be opening up old wounds... -- Talin