using break <label> instead of goto <label>
Ron Natalie <ron>
ron at brl-tgr.ARPA
Wed Jan 16 06:23:32 AEST 1985
> All of this ignores, of course, any assessment of the problems of
> incorporating this facility in C relative to its worth. I've no
> illusions about the difficulty, especially when you realize that all
> labels are potential targets of a goto but some are also possible
> referents of the new break. But I was addressing the absolute utility
> of the construct, rather than its relative utility when considering
> the engineering problems of such a retrofit.
> --
Agreed. I'm not saying break-to-label isn't a good thing for some language
to have. There's a lot of things we could put into languages if we were
starting over. What I'm arguing against is making frivolous changes to an
existing language. So far nearly all of the proposed extensions that the
committe has been proposing, do not change the language when it can be
avoided.
If we trully want to be structured we'd get rid of "break" and "goto"
-Ron
More information about the Comp.lang.c
mailing list