gotos
Michael J. Andrew
mick at auspyr.UUCP
Tue Apr 12 08:41:50 AEST 1988
In article <1988Apr5.213343.1528 at utzoo.uucp> henry at utzoo.uucp (Henry Spencer) writes:
>> Sometimes, gotos are perfectly justifiable because they vastly
>> simplify and clarify you code.
>
>And once in a long while, there is no better way. A loooong while.
>If I were running a software house, I'd be tempted to say that using
>a goto -- except in fixing a program that already uses them -- means
>having $50 docked from your pay. It's not *forbidden*, you understand,
>it's just that you have to want it really badly!
This is a excellent extension to a scheme I keep proposing half-
seriously to management, to encourage good programming
practices among novice, sloppy or lazy programmers.
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.
Wh
--
-------------------------------------------------------------------------
Michael Andrew Sr. Systems Engineer Austec, Inc. San Jose CA.
mick at aussjo.UUCP (408) 279 5533
More information about the Comp.lang.c
mailing list