gotos

Frank Adams franka at mmintl.UUCP
Tue Apr 19 06:59:29 AEST 1988


In article <4160 at auspyr.UUCP> mick at auspyr.UUCP (Michael J. Andrew) writes:
>Provide each member of the team a $500 bonus at the start of a new
>project, but deduct $50 each time a global variable is introduced
>into the design.

This isn't good enough.  One can simply create a struct with one component
for each thing which would otherwise be a global variable, and have a single
instance of it as the only global variable.  This makes the code harder to
read, of course, but it saves (the team) money.
-- 

Frank Adams                           ihnp4!philabs!pwa-b!mmintl!franka
Ashton-Tate          52 Oakland Ave North         E. Hartford, CT 06108



More information about the Comp.lang.c mailing list