How I need a drink, alcoholic in nature, after the heavy lectures involving quantum mechanics.
Yes, the if-statement obviously means checking if the expression equals true, if you then put "== true" in the expression, you're doing an extra comparison. The compiler might do away with your redundant comparison, but then we don't want to rely on the compiler to fix our mess now do we?
How I need a drink, alcoholic in nature, after the heavy lectures involving quantum mechanics.
how is any of this related to the OP's question?