3 ms·
Sparse is better than dense. Why do you need everything to be an expression? Sure, a variable lookup takes a nanosecond, but that's a small price to pay for re
by xapata 10y ago
Sparse is better than dense.
Why do you need everything to be an expression? Sure, a variable lookup takes a nanosecond, but that's a small price to pay for readability.
The fact that Python has an if expression and a lambda expression, but they were intentionally, not accidentally limited to one line should indicate there are some benefits to the trade-off.