3 ms·
> When using a constant in a comparison expression, always place the constant on the left side of the comparison operator. So, Yoda conditions, hm? I disagree
by glitchdout 13y ago
> When using a constant in a comparison expression, always place the constant on the left side of the comparison operator.
So, Yoda conditions, hm? I disagree on this one, your compiler should give you a warning about it.
But it doesn't matter, really. Guidelines themselves don't matter much. What matters is having them and sticking to them.