A coding exercise
Dave Jones
djones at megatest.UUCP
Sat Jul 9 08:42:45 AEST 1988
>From article <30563 at cca.CCA.COM>, by g-rh at cca.CCA.COM (Richard Harter):
> In article <77200036 at p.cs.uiuc.edu> kenny at p.cs.uiuc.edu writes:
...
[ Code omited. ]
> Now this is quite pretty in its way -- the logic is clear and the number
> of statements is a minimum. Perhaps Mr. Rubin will want to use this as
> an example in his campaign on behalf of the goto :-)! I will leave the
> translation of this code back into goto-less C as an exercise for the
> reader.
If the "logic is clear and the number of statements is minimum," don't
muck with it. You have better things to do than to improve clear efficient
code. For example, you could be at the beach, getting your exercise for
the reader from a cheap novel.
-- Dave J.
More information about the Comp.lang.c
mailing list