4 ms·
> You don't have to know an entire operator precedence table to read and write idiomatic infix-notation code. If it's "idiomatic", why is there such disagreeme
by anamax 15y ago
> You don't have to know an entire operator precedence table to read and write idiomatic infix-notation code.
If it's "idiomatic", why is there such disagreement?
> Why then has math (which is read and written only by humans)
Convention has a lot of value. That said, mathematicians don't have to worry about getting things wrong. It's just paper, and they're happy to let humans fix up the errors.
> Parentheses are always available to clarify more complicated expressions.
Unnecessary parentheses are how humans deal with the fact that they can't handle infix.