using break <label> instead of goto <label>

Doug Gwyn <gwyn> gwyn at brl-tgr.ARPA
Wed Jan 16 08:27:43 AEST 1985


> ... this is an indication that the reason most good programmers
> place non-structured constructs in their code is to avoid code
> duplication.

Or to handle errors and exceptions that cannot be reasonably
treated by the main program logic.  The alternative often is
to ignore these, with loss of robustness, or to carry around
lots of silly state flags to be tested in loop conditions.



More information about the Comp.lang.c mailing list