3 ms·
The parenthesis highlight in any decent editor. So it always very obvious which operators apply to the operands.
by skydhash 2y ago
The parenthesis highlight in any decent editor. So it always very obvious which operators apply to the operands.
- eviks 2y agoThis reduces the friction, but doesn't eliminate the needles back and forth. Breaking context locality is just bad The threads example in another comment is way better
- skydhash 2y agoThere’s no needle back and forth. Everything in parentheses is a complete expression, like a formula. You have the operator (function) and the operands (args). Think of it as add instead of + and multiply instead of *. You get used to it very quicly and then it does not matter.
- eviks 2y agoIt's not about thinking differently, it's about operator location, you simply don't know with long nested function what operation is performed at end-3 nest unless you look at beg+3