X3J11: Why no labelled loops?

Brian Campbell brianc at cognos.UUCP
Tue Feb 24 04:21:01 AEST 1987


   Why are labelled loops not supported in ANSI C?  I think the reasoning
for not including them was something to the effect "they're too much
like goto's".  This seems a rather weak objection -- the work-around
*is* a goto, or superfluous condition testing. 

   Does anyone have some more information on why such a useful feature
(in my opinion) would be omitted?

   - Brian Campbell



More information about the Comp.lang.c mailing list