The author asks why && and || need different precedence (Unless I misunderstood).
This is because `a && (b || c)` has a different truth table than `(a && b) || c`
This is because `a && (b || c)` has a different truth table than `(a && b) || c`
I'm not a formally trained mathematician, but one way to rationalize + and - having the same precedence, is to consider them as inverses of each other, so your two examples can be written as
a + -b + c
And
a + b + -c
At which point precedence and associativity no longer matter. The same can be done with multiplication and division