Viewing a single comment thread. View all comments

Any-Growth8158 t1_iyavvpk wrote

Because that is what the mathematics world agreed upon. It doesn't really matter as everyone is consistent and uses the same order of priority. The examples are really just poorly formatted. As a general rule it is good practice to use parentheses since it makes things clearer--especially when using the x for multiply...

Leaving out the parentheses in such a case is just asking for trouble since many people are not aware that operators have an order of precedence.

8