You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that the order of precedence for operators doesn't exactly conform to the guidelines that the rest of language follows: while in most places the compiler requires the programmer to be explicit (e.g. pack comments), precedence of operators is a (arbitrary?) choice of the compiler that will still confuse people who are used to excusing Aunt Sally.
What I would expect from Ok? is to raise a compiler error on expressions such as a + b * c, and require that the programmer either changes the order, or adds parentheses.
The text was updated successfully, but these errors were encountered:
I noticed that the order of precedence for operators doesn't exactly conform to the guidelines that the rest of language follows: while in most places the compiler requires the programmer to be explicit (e.g.
pack
comments), precedence of operators is a (arbitrary?) choice of the compiler that will still confuse people who are used to excusing Aunt Sally.What I would expect from Ok? is to raise a compiler error on expressions such as
a + b * c
, and require that the programmer either changes the order, or adds parentheses.The text was updated successfully, but these errors were encountered: