12 Apr
2010
12 Apr
'10
10:40 a.m.
<Joerg-Cyril.Hoehle(a)t-systems.com> writes:
Ok. After being bitten at least once by assignment/comparison mismatch I promised myself to use that style. I'm myself used to read code as "if A equals 3" rather than "if 3 is the value of A" but I'm convinced that's just a matter of getting used to this style that is less error-prone in C.
gcc prints a warning in most cases where you could make the mistake, so it's not a good enough reason to make the code harder to read. -- Alexandre Julliard julliard(a)winehq.org