"Break" and other ways out of loops and switches

Paul Asente asente at decwrl.UUCP
Fri Aug 26 04:03:44 AEST 1983

The solution with breakflags & setbreaks & testbreaks is
cleaner than one with labelled breaks and continues?  Give
me a break! (Ug)  Labelled breaks and continues are infinitely
cleaner than that tangled mess of flags.  The advantage of
structured over unstructured programming is that structured
programming is easier to understand and follow, not that it
has no gotos.  The effect of a goto is not necessarily bad if
it is to the end of a loop or the end of a procedure.  (Do you
object to multiple "return"s in a procedure?  It's really the
same thing.)

	-paul asente

More information about the Comp.lang.c mailing list