🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #1278

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

#1278
From: diamond
Date: Fri, 25 May 1990 03:58
14 lines
1254 bytes
How do we know if they're a draw?  All you people who are arguing
which is better:  one of you code an infinite loop with for(;;)
and one of you code an infinite loop with while(1).  When they
finish, wake me (from the dead) and tell me.

The rest of us can go RTFS.  TFS says that both forms are legal.
This is the only answer that belongs in ThisFNewsgroup.

Some of us will even use optimizers when we can get our hands on them.
Though this does not belong in ThisFNewsgroup.

-- 
Norman Diamond, Nihon DEC     diamond@tkou02.enet.dec.com
Proposed group comp.networks.load-reduction:  send your "yes" vote to /dev/null.
Technical Details
Message-ID: <1730@tkou02.enet.dec.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!samsung!usc!elroy.jpl.nasa.gov!decwrl!shlump.nac.dec.com!tkou02.enet.dec.com!diamond
References: <5876@buengc.BU.EDU> <12955@smoke.BRL.MIL> <5879@buengc.BU.EDU> <12971@smoke.BRL.MIL> <5897@buengc.BU.EDU> <4193@castle.ed.ac.uk>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!samsung!usc!elroy.jpl.nasa.gov!decwrl!shlump.nac.dec.com!tkou02.enet.dec.com!diamond
From: diamond@tkou02.enet.dec.com (diamond@tkovoa)
Newsgroups: comp.std.c
Subject: Re: for(;;) vs. while(1) is a draw
Message-ID: <1730@tkou02.enet.dec.com>
Date: 25 May 90 03:58:54 GMT
References: <5876@buengc.BU.EDU> <12955@smoke.BRL.MIL> <5879@buengc.BU.EDU> <12971@smoke.BRL.MIL> <5897@buengc.BU.EDU> <4193@castle.ed.ac.uk>
Reply-To: diamond@tkou02.enet.dec.com (diamond@tkovoa)
Organization: Digital Equipment Corporation Japan , Tokyo
Lines: 14