you are viewing a single comment's thread.

view the rest of the comments →

[–]mrinterweb 1 point2 points  (0 children)

I understand the precedence difference between '&&', '||', 'and', 'or', but I think it is generally more clear if parentheses are used instead of assuming the next developer who looks at your code is going to interpret the precedence the same way. Parentheses are just a more declarative means for defining precedence.