Re: while (1) vs. for ( ;; )
- From: Chris McDonald <chris@xxxxxxxxxxxxxxx>
- Date: Wed, 31 Aug 2005 01:28:19 +0000 (UTC)
"Baxter" <lbax02.spamguard@xxxxxxxxxxx> writes:
>You can further document it like this:
>while (!done) { // will never be done while computer is running
> ...
>
>Convey your intent in English (assuming English is your first language)
Or, in better English:
while (!done) { // will never terminate while computer is running
as it will be *done*, just not *finished*.
--
Chris.
.
- References:
- while (1) vs. for ( ;; )
- From: Michael B Allen
- Re: while (1) vs. for ( ;; )
- From: Tim Rentsch
- Re: while (1) vs. for ( ;; )
- From: pete
- Re: while (1) vs. for ( ;; )
- From: Tim Rentsch
- Re: while (1) vs. for ( ;; )
- From: Keith Thompson
- Re: while (1) vs. for ( ;; )
- From: Charlie Gordon
- Re: while (1) vs. for ( ;; )
- From: Baxter
- while (1) vs. for ( ;; )
- Prev by Date: Re: More questions about casting function pointers ..
- Next by Date: Re: low-level question
- Previous by thread: Re: while (1) vs. for ( ;; )
- Next by thread: Re: while (1) vs. for ( ;; )
- Index(es):
Relevant Pages
|