Article View: comp.lang.misc
Article #4377Re: GOTO controversy
From: Tor Iver Wilhelmsen
Date: Tue, 05 Mar 1996 12:51
Date: Tue, 05 Mar 1996 12:51
22 lines
1448 bytes
1448 bytes
rav@goanna.cs.rmit.EDU.AU (++ robin) writes: [original code example deleted for brevity, see <URL:news:Dn8pJ8.nqs@emi.net> for details] > >Is there any reason why the GOTOs can't be replaced by >the particular action routine? As he said, backtracking. The alternative would be to include yet another function call in each successive if-sentence, making the code ugly. Using gotos, the code _can_ be made to express the intended flow much better, as in his example. Are there any other languages than Prolog that implement a "machine" for backtracking? - Tor Iver -- Tor Iver Wilhelmsen <toriver@pvv.unit.no> Approx. M. Sc. in CS from NTH, Norway Siviling. Tor I. Wilhelmsen // c/o ESD Nordic // Postboks 226 // 1411 Kolbotn All opinions above invisible unless expressed or put in a blender. Whatever. Info: http://www.pvv.unit.no/~toriver/ Member of The Software Workshop, NTNU
Technical Details
Message-ID:
<4hhdcu$43p@due.unit.no>Path:
arc1-ca.pugleaf.net!bigblue.pvv.unit.no!toriverReferences:
<rcshlds.1.000A6705@mailserv.mta.ca> <Dn8pJ8.nqs@emi.net> <4grt4e$8fg@goanna.cs.rmit.EDU.AU>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!bigblue.pvv.unit.no!toriver From: toriver@pvv.unit.no (Tor Iver Wilhelmsen) Newsgroups: comp.lang.misc,comp.lang.c,comp.lang.pl1 Subject: Re: GOTO controversy Date: 5 Mar 1996 12:51:42 GMT Organization: or.gan.i.za.tion, n., ... 5. a body of persons organized for some end or work. (Webster) Message-ID: <4hhdcu$43p@due.unit.no> References: <rcshlds.1.000A6705@mailserv.mta.ca> <Dn8pJ8.nqs@emi.net> <4grt4e$8fg@goanna.cs.rmit.EDU.AU> NNTP-Posting-Host: bigblue.pvv.unit.no Originator: toriver@bigblue.pvv.unit.no