🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #3378

Re: How to eliminate GOTO?

#3378
From: Mark Ingram
Date: Fri, 25 Aug 1995 18:54
25 lines
1574 bytes
Goran Larsson (hoh@lorelei.approve.se) wrote:
: In article <41iebe$kec@news0.rain.rg.net> Paul Long <plong@perf.com> writes:
: | FWIW, PL/I uses the keyword, leave. At some point in its evolution, a number
: | was allowed to follow the keyword that specifies the number of loops to leave,
: | e.g., leave 2.

: What a disaster. That is even more dangerous than goto!
: Add a new loop nesting and you have to locate all affected leaves.
: If you forget one -> a total mess...

I agree wholeheartedly with the above sentiment.

I recall a language very similar to C in which it was possible to
label blocks, and break optionally took such a label.  Except it
was "quit", not "break".  Also there was a combined if()quit structure
which was called "quif".

Anybody else remember this baby?
(No need to mail me, I know what it was.  I'm just curious
if it still exists and/or if anybody uses it today.)

I wonder what happened to it.  I liked it, even if the
new keywords were rather perverse.

-- Mark.
Technical Details
Message-ID: <41l688$csv@wormhole.cognos.com>
Path: arc1-ca.pugleaf.net!wormhole.cognos.com!ingramm
References: <41cke4$gtd@sparcserver.lrz-muenchen.de> <41glno$3a0@caip.rutgers.edu> <41iebe$kec@news0.rain.rg.net> <1995Aug25.114323.2982@lorelei.approve.se>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!wormhole.cognos.com!ingramm
From: ingramm@Cognos.COM (Mark Ingram)
Newsgroups: comp.std.c,comp.lang.c
Subject: Re: How to eliminate GOTO?
Followup-To: comp.std.c,comp.lang.c
Date: 25 Aug 1995 18:54:00 GMT
Organization: Cognos Incorporated, Ottawa CANADA
Message-ID: <41l688$csv@wormhole.cognos.com>
References: <41cke4$gtd@sparcserver.lrz-muenchen.de> <41glno$3a0@caip.rutgers.edu> <41iebe$kec@news0.rain.rg.net> <1995Aug25.114323.2982@lorelei.approve.se>
NNTP-Posting-Host: morlock.cognos.com
X-Newsreader: TIN [version 1.2 PL2]