🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #1364

Re: for(;;) vs. while(1) is a bore

#1364
From: jwe
Date: Fri, 01 Jun 1990 09:46
28 lines
1213 bytes
In article <358@necssd.NEC.COM> harrison@necssd.NEC.COM (Mark Harrison) writes:

> Then how about:
> #define EVER (;;)
> for EVER
> (Many :-)

Or, how about:

#define TRUE 29  /* because it's my favorite lucky (nonzero) number */
while (TRUE)

Does this mean we can turn our flames back toward the real issues of
standard C, such as whether or not it's a good idea to define macros
for TRUE and FALSE?

--
John "I'll bet I'm not the only one that posts useless stuff here" Eaton
jwe@emx.utexas.edu
Department of Chemical Engineering
The University of Texas at Austin
Austin, Texas  78712
-- 
John Eaton
jwe@emx.utexas.edu
Department of Chemical Engineering
The University of Texas at Austin
Austin, Texas  78712
Technical Details
Message-ID: <30804@ut-emx.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!ogicse!uwm.edu!cs.utexas.edu!ut-emx!jwe
References: <5876@buengc.BU.EDU> <12955@smoke.BRL.MIL> <etc.> <etc.> <etc.>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!ogicse!uwm.edu!cs.utexas.edu!ut-emx!jwe
From: jwe@ut-emx.UUCP (jwe)
Newsgroups: comp.std.c
Subject: Re: for(;;) vs. while(1) is a bore
Summary: I can't resist (really: when will it stop)
Message-ID: <30804@ut-emx.UUCP>
Date: 1 Jun 90 09:46:31 GMT
References: <5876@buengc.BU.EDU> <12955@smoke.BRL.MIL> <etc.> <etc.> <etc.>
Reply-To: jwe@emx.UUCP (John W. Eaton)
Organization: The University of Texas at Austin, Austin, Texas
Lines: 28