Name: Anonymous 2012-06-22 1:20
"Always compare equality with a constant on the left, for example
"For consistency with the previous rule, non-equality comparisons should also be formatted using the same style. For example, use
if (5 == maxUsers) instead of if (maxUsers == 5). If neither of the expressions being compared are constants, rewrite the condition so it is, for example if (0 == userCount - userLimit) instead of if (userCount == userLimit).""For consistency with the previous rule, non-equality comparisons should also be formatted using the same style. For example, use
if (0 < userCount) instead of if (userCount > 0), and if (0 < userCount - userLimit) instead of if (userCount > userLimit)."