I often see if structures being coded like this:
if (true == a) if (false == a)
Why do they put the constant value first and not the variable? as in this example:
if (a == true) if (b == true)