Two extremes are APL which does not define any precedences (not even for arithmetic operators), and C which defines 15 levels of precedence!

That’s bound to be confusing.

Well, at least, if you know math. (Which you should if you’re trying to learn to program.) We’re taught about precedence by the time we start math!

From Ben Ari’s Understanding Programming Languages

Leave a comment