Re:Python 3.5 to Ship with Matrix Multiplication Operator
by shadowmint on Tuesday April 08, 2014 @03:42AM
(#7551955)
multi-line lambdas.
[ Parent
| on HN ]
Re:Python 3.5 to Ship with Matrix Multiplication Operator
by jdpage on Tuesday April 08, 2014 @04:05AM
(#7552050)
Not happening, because it would mean multi-line function arguments, which have been declared "ugly".
Re:Python 3.5 to Ship with Matrix Multiplication Operator
by EliAndrewC on Tuesday April 08, 2014 @11:55AM
(#7554153)
Guido explains in an old blog post (http://www.artima.com/weblogs/viewpost.jsp?thread=147358) that he considers all of the possible implementations of multi-line lambdas to be un-Pythonic:
> But the complexity of any proposed solution for this puzzle is immense, to me: it requires the parser (or more precisely, the lexer) to be able to switch back and forth between indent-sensitive and indent-insensitive modes, keeping a stack of previous modes and indentation level. Technically that can all be solved (there's already a stack of indentation levels that could be generalized). But none of that takes away my gut feeling that it is all an elaborate Rube Goldberg contraption.