Confusing ternary
Avoid negation within an "if" expression with an "else" clause. For example, rephrase: if (x != y) diff() then same() as: if (x == y) same() then diff().
Avoid negation within an "if" expression with an "else" clause. For example, rephrase: if (x != y) diff() then same() as: if (x == y) same() then diff().