Operators Clarity

Use parentheses for clarity, especially with boolean operations. If you have to think about what is the operator precedence then it’s likely that it’s unclear other people as well.

Good

if ((a || b) && c) {

}

Bad

if (a || b && c) {

}