Article View: comp.lang.misc
Article #4398Re: GOTO controversy
From: gomberg
Date: Wed, 13 Mar 1996 16:46
Date: Wed, 13 Mar 1996 16:46
32 lines
2163 bytes
2163 bytes
In <3144D1F7.E64@axonet.com.au>, Andrew Dalgleish <andrewd@axonet.com.au> writes:
>> And I would assert my code is (1) a lot more PL/1-like and
>> (2) a lot easier to understand.
>
>1. I assume you have #define'd "do" and "end" as "{" and "}".
>How do you encode "do {...} while(...);" ?
>2. The extra semi-colons after each do & end don't achieve anything.
>3. What does "<>" mean in C ?
And I would assert my code is a lot more PL/I like.
>
>Otherwise, this is one example where you can remove goto's without loss
>of speed and improve clarity.
>This doesn't mean you should never use goto's.
But it was presented as a case where gotos were better. Sigh.
An assembler maven walked into a bar and asked the bartender: "Do you want
to hear a PL/I programmer joke?"
The bartender was a big fellow with a baseball bat behind the bar which he
used for crowd control. "Hey, wait a minute!" the bartender said. "I am a
PL/I programmer. And see that fellow over at the pool table? He's a PL/I
programmer too." The maven glanced over towards the table and saw a
six-foot-six refugee from the Ohio State offensive line wearing a XXXXL
tee shirt that was a few sizes too small. "And check out Fred over by the
juke box, he's a PL/I programmer himself". The visitor looked over to the
juke box and Fred wearing leathers and had a chain hanging from his belt.
"Now do you still want to tell a PL/I programmer joke?" the bartender asked.
"Naw," the visitor replied. "I don't want to have to explain it three times."
Technical Details
Message-ID:
<4i6u62$sof@hoho.quake.net>Path:
arc1-ca.pugleaf.net!hoho.quake.net!usenetReferences:
<rcshlds.1.000A6705@mailserv.mta.ca> <Dn8pJ8.nqs@emi.net> <4grt4e$8fg@goanna.cs.rmit.EDU.AU> <4hl8mt$4po@newshost.cyberramp.net> <DnwCxp.84C@clw.cs.man.ac.uk> <4hsco0$rj5@hoho.quake.net> <3144D1F7.E64@axonet.com.au>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!hoho.quake.net!usenet From: gomberg@wcf.com Newsgroups: comp.lang.misc,comp.lang.c,comp.lang.pl1 Subject: Re: GOTO controversy Date: 13 Mar 1996 16:46:58 GMT Organization: QuakeNet Internet Services (email info@Quake.Net) Message-ID: <4i6u62$sof@hoho.quake.net> References: <rcshlds.1.000A6705@mailserv.mta.ca> <Dn8pJ8.nqs@emi.net> <4grt4e$8fg@goanna.cs.rmit.EDU.AU> <4hl8mt$4po@newshost.cyberramp.net> <DnwCxp.84C@clw.cs.man.ac.uk> <4hsco0$rj5@hoho.quake.net> <3144D1F7.E64@axonet.com.au> Reply-To: gomberg@wcf.com NNTP-Posting-Host: l87.ip.quake.net X-Newsreader: IBM NewsReader/2 v1.09