in reply to Re: Style, *again*
in thread Style, *again*
And since == is a symmetric operation
Which is the reason I often put the constant first. Turning an == into an = accidentally results in a non symmetric operation which is illegal when the left side is a constant. Which helps catch silly mistakes that the compiler doesnt notice (like in the conditional part of a ternary op.)
|
|---|