while (1) vs. for ( ;; )
- From: Michael B Allen <mba2000@xxxxxxxxxx>
- Date: Sun, 28 Aug 2005 21:36:51 -0400
Should there be any preference between the following logically equivalent
statements?
while (1) {
vs.
for ( ;; ) {
I suspect the answer is "no" but I'd like to know what the consensus is
so that it doesn't blink through my mind anymore when I type it.
Mike
.
- Follow-Ups:
- Re: while (1) vs. for ( ;; )
- From: Tim Rentsch
- Re: while (1) vs. for ( ;; )
- From: Alan Balmer
- Re: while (1) vs. for ( ;; )
- From: Richard Heathfield
- Re: while (1) vs. for ( ;; )
- From: pete
- Re: while (1) vs. for ( ;; )
- From: Chris McDonald
- Re: while (1) vs. for ( ;; )
- From: Robert Gamble
- Re: while (1) vs. for ( ;; )
- From: Guillaume
- Re: while (1) vs. for ( ;; )
- From: Walter Roberson
- Re: while (1) vs. for ( ;; )
- From: caduardo21
- Re: while (1) vs. for ( ;; )
- Prev by Date: Re: compare a large number of variables
- Next by Date: Re: while (1) vs. for ( ;; )
- Previous by thread: Parity check of a word
- Next by thread: Re: while (1) vs. for ( ;; )
- Index(es):
Relevant Pages
|
Loading