🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.lang.pascal
Article #320

Re: Pascal and GOTO statements

#320
From: Marty Smith
Date: Mon, 28 Jul 1986 16:39
20 lines
1127 bytes
In article <5411@topaz.RUTGERS.EDU> hedrick@topaz.RUTGERS.EDU (Charles Hedrick) writes:
>I have no objection to a single GOTO to exit a loop.  I do object to
>   for ...
>	if ...
>		goto 111
>   foo;
>   goto 222;
>111: 
>   bar;
>222:
>   That's getting too much like spaghetti.
>   

Of course the above looks like spaghetti.  It has no meaning.  Its purpose
is to show how bad gotos are.

Any program can be written poorly.  The fault lies with the programmer, not
in his use of gotos.

				Martin Smith
Technical Details
Message-ID: <2984@ism780c.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!caip!ucla-cs!sdcrdcf!ism780c!marty
References: <4369@decwrl.DEC.COM> <5411@topaz.RUTGERS.EDU>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!caip!ucla-cs!sdcrdcf!ism780c!marty
From: marty@ism780c.UUCP (Marty Smith)
Newsgroups: net.lang.pascal
Subject: Re: Pascal and GOTO statements
Message-ID: <2984@ism780c.UUCP>
Date: Mon, 28-Jul-86 12:39:43 EDT
Article-I.D.: ism780c.2984
Posted: Mon Jul 28 12:39:43 1986
Date-Received: Wed, 30-Jul-86 01:06:00 EDT
References: <4369@decwrl.DEC.COM> <5411@topaz.RUTGERS.EDU>
Reply-To: marty@ism780c.UUCP (Marty Smith)
Organization: Interactive Systems Corp., Santa Monica, CA
Lines: 20
Keywords: Pascal GOTO