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

Mark Harrison harrison at necssd.NEC.COM
Fri Jun 1 02:10:52 AEST 1990


In article <5879 at buengc.BU.EDU> bph at buengc.bu.edu (Blair P. Houghton) writes:
>It's more logical.

Be careful.  Too many times "more logical" == "what I am used to".

Besides, both "for (;;)" and "while (1)" are easy once someone
can accept the obviously impossible proposition "x = x + 1".
-- 
Mark Harrison             harrison at necssd.NEC.COM
(214)518-5050             {necntc, cs.utexas.edu}!necssd!harrison
standard disclaimers apply...



More information about the Comp.std.c mailing list