Re:Handwriting Programs in J
by hwayne on Wednesday October 11, 2017 @03:13PM
(#15452489)
Most languages aren't LtR, either! For example, what's this in python?
In J, that's very obviously 6: as it's 2 + (2 * (4 / (1 + 1))). In Python, it's 11, as there's order of operations to think about: 2 + (2 * 4 / 1) + 1. Strict LtR is not always preferable, but when you're pipelining a lot of tricky array operations it makes it a lot easier to understand the code.
[ Parent
| on HN ]