🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.misc
Article #4409

Re: GOTO controversy

#4409
From: Scott Hawley
Date: Thu, 21 Mar 1996 19:56
22 lines
781 bytes
What to you think? Loops without using loops?

a loop:

for(i=0;i<10;i++)
{
  stuff
}

Looping with out a loop

no_loop(0,10);

no_loop(int start, int end)
{
    if(start != end) {
        stuff
        no_loop(start+1,end);
    }
}

I haven't tested this but you get the idea.
Technical Details
Message-ID: <3151B47F.70FD@connix.com>
Path: arc1-ca.pugleaf.net!connix.com!news
References: <314FB5F5.259B@simi.is>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!connix.com!news
From: Scott Hawley <shawley@connix.com>
Newsgroups: comp.lang.misc,comp.lang.c,comp.lang.pl1,comp.lang.apl
Subject: Re: GOTO controversy
Date: Thu, 21 Mar 1996 11:56:47 -0800
Organization: SHAWLEY SYSTEMS
Message-ID: <3151B47F.70FD@connix.com>
References: <314FB5F5.259B@simi.is>
NNTP-Posting-Host: shawley.connix.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.0 (Win16; I)