Compilers and programming style (was Re: A question of style)
john jeter
jeter at ficc.uu.net
Wed Jan 10 07:05:39 AEST 1990
In article <15065 at bfmny0.UU.NET>, tneff at bfmny0.UU.NET (Tom Neff) writes:
> If you have a specialized systems/hardware-type situation where merely
> referring to a variable has useful side effects, then you can cast it
> to (void) or some such, to make this obvious.
^^^^^^^^^^^^^^^^^^^^
A little used alternate approach is the usage of the commentary operator
in close proximity to the variable reference. ;-)
More information about the Comp.lang.c
mailing list