Re:Try Clojure
by eviks on Wednesday May 22, 2024 @03:33PM
(#40445277)
I'd take the verbosity over having to count the operators from the start of the line to figure out which one are used at the end of the line "1.5 2"
[ Parent
| on HN ]
The parenthesis highlight in any decent editor. So it always very obvious which operators apply to the operands.
This 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
There’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.