Article View: comp.lang.misc
Article #4419Re: GOTO controversy
From: David Labell
Date: Tue, 02 Apr 1996 02:10
Date: Tue, 02 Apr 1996 02:10
26 lines
1215 bytes
1215 bytes
>: What to you think? Loops without using loops?
>: 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.
Here's a guy who would rather recurse than loop. I don't mean to be rude, but
this is typical of C programmers. Why not write it so it says what it does?
Who benefits from your tricks?
I write this from the standpoint of someone who has spent a career poking
through stuff like the above -- writing it weird just so you can say you
didn't do ____.
I'm really tired of it.
........................................................................
Technical Details
Message-ID:
<4jq2en$g2q@news.cais.com>Path:
arc1-ca.pugleaf.net!news.cais.com!ip28References:
<314FB5F5.259B@simi.is> <3151B47F.70FD@connix.com> <4jo5t6$1ki@socrates.moe.edu.sg>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news.cais.com!ip28 From: dlabell@paltech.com (David Labell) Newsgroups: comp.lang.misc,comp.lang.c,comp.lang.pl1,comp.lang.apl Subject: Re: GOTO controversy Date: Tue, 02 Apr 96 02:10:49 GMT Organization: David Labell Message-ID: <4jq2en$g2q@news.cais.com> References: <314FB5F5.259B@simi.is> <3151B47F.70FD@connix.com> <4jo5t6$1ki@socrates.moe.edu.sg> NNTP-Posting-Host: ip17.dialup.paltech.com X-Newsreader: News Xpress Version 1.0 Beta #3