Article View: comp.std.c
Article #3903Re: How to eliminate GOTO?
From: Michael Shields
Date: Sun, 03 Sep 1995 06:59
Date: Sun, 03 Sep 1995 06:59
19 lines
1195 bytes
1195 bytes
In article <42223v$p25@caip.rutgers.edu>, <halasz@caip.rutgers.edu> wrote: > In article <41ni1c$ft6@news1.wolfe.net>, rmiller@Wolfe.NET (Rich Miller) writes > + ..... > + I have used an interpreted database language with supported the syntax > + (roughly): > + break [number of levels] [and execute this code as if it occurs > + directly after the (multilevel) break happens > + > + It's a powerful feature -- but I doubt that its power justifies the cost > + of the associated complexity. > + ..... > > O, but it doth, if we make it <label> and not <number of levels>. But that would be the same as goto, plus a suffix. The potential for abuse is obvious; can you give an example where it would make code much clearer? -- Shields.
Technical Details
Message-ID:
<42bjpc$lum@yage.tembel.org>Path:
arc1-ca.pugleaf.net!news.tembel.org!not-for-mailReferences:
<41cke4$gtd@sparcserver.lrz-muenchen.de> <41ni1c$ft6@news1.wolfe.net> <42223v$p25@caip.rutgers.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news.tembel.org!not-for-mail From: shields@tembel.org (Michael Shields) Newsgroups: comp.std.c Subject: Re: How to eliminate GOTO? Date: 3 Sep 1995 06:59:56 -0000 Organization: Tembel's Hedonic Commune Message-ID: <42bjpc$lum@yage.tembel.org> References: <41cke4$gtd@sparcserver.lrz-muenchen.de> <41ni1c$ft6@news1.wolfe.net> <42223v$p25@caip.rutgers.edu> NNTP-Posting-Host: yage.tembel.org NNTP-Posting-User: shields