lint won't verify printf formatting against variable types??
Norman Diamond
diamond at diamond.csl.sony.junet
Thu Jul 6 17:53:14 AEST 1989
In article <16399.24B11BBE at urchin.fidonet.org> Bob.Stout at p6.f506.n106.z1.fidonet.org (Bob Stout) writes:
>As to `if (x = 5)', I
>thought most C programmers nowadays always wrote the constant part of a
>logical comparison on the left side as a regular issue of style.
And what about `if (x = y)' ?
Even when one of those is a constant, sure some PROTECTION is obtained
by reversing the operands, but not STYLE.
--
Norman Diamond, Sony Computer Science Lab (diamond%csl.sony.jp at relay.cs.net)
The above opinions are claimed by your machine's init process (pid 1), after
being disowned and orphaned. However, if you see this at Waterloo, Stanford,
or Anterior, then their administrators must have approved of these opinions.
More information about the Comp.lang.c
mailing list