3 ms·
operator precedence is arbitrary to a language. There is no universal "right" or "wrong" and the LISP postfix people know this, there's no operator precedence t
by AtlasBarfed 7y ago
operator precedence is arbitrary to a language. There is no universal "right" or "wrong" and the LISP postfix people know this, there's no operator precedence there, just a sequence of operators and the operands that follow that explicitly declares the order of evaluation. It does have parentheses though :-)
So the mistake here seems to be expectation, which is arbitrary. Everyone knows the +-*/() precedence of basic arithmetic, but boolean operations and others? That isn't at the cultural level of basic schooling, so the author's contention that the precedence is wrong isn't a priori.