Re:Python 3.5 to Ship with Matrix Multiplication Operator
by thwarted on Tuesday April 08, 2014 @11:52AM
(#7554124)
Agreed that deeply nested function application is hard to read, for any purpose (not just matrix multiplication), which is why anyone who cared about readability and verifying correct readability would split it over multiple lines/expressions. Method chaining, given the functions return the correct types, could be a way to avoid that deep nesting too.
[ Parent
| on HN ]
Re:Python 3.5 to Ship with Matrix Multiplication Operator
by pseut on Tuesday April 08, 2014 @01:55PM
(#7554922)
Usually the algorithm is described in another document without several expressions & lines. "Readability" in some of these contexts means verifying that you've correctly typed in the expression.