Hacker News new | ask | show | jobs
by riffraff 40 days ago
Smalltalk didn't have math operator precedence, and I thought it was very annoying but I've come to believe it was a good idea.
1 comments

A much older language that does not have operator precedence is APL.

This is the right choice for a language with a great number of operators.

In C they have tried to minimize the number of parentheses in expressions, but for this they have created far too many levels of precedence between operators, which had the opposite effect to that intended, since people now prefer to insert superfluous parentheses, to avoid having to remember all those levels of precedence.