We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
what is th eorder of presedents?
is 2 + 3 * 5 = 32 or 17
That sounds a bit too hard. The compiler do know the precendence rules, and the developer should know them too or have the access to the source code revoked.
Parentheses may be good for making the code faster to read in some situations, but I would not add parentheses for a three-argument equation with one add and one multiplication. No developer should need the parentheses for the readability.
But while parentheses may help with readability, too much parentheses makes the expression harder to read, forcing me to put the cursor on a parentesis just to see where the matching parenthesis is.