Paul Clapham wrote:
Check out the "left associative" part of what Henry said. How does that make the hours number act differently than the minutes number?
Interestingly, while the ranch does indeed gets a lot of questions regarding "precedence", and mainly due to confusing it with "evaluation order", the concept of "associativity" rarely comes up. This is weird because the concept of associativity is definitely much closer related to precedence than evaluation.
Anyway, to give an example... take this simple expression...
4 + 3 + 2 + 1
All the operators are the same, so same precedence. Since the plus operator is left associative (and order of evaluation is left to right), it is actually easily envisioned as ...
Did you happen to notice that, with the exception of the first two operands, no other operand was operated on a neighboring operand?
Henry