On Friday, 13 June 2014 at 17:05:26 UTC, H. S. Teoh via Digitalmars-d wrote:
I don't like arbitrary constants like the `true` in while(true) -- it kinda goes against the grain, that "while" implies there is a stopping point, but sticking true in there contradicts this notion and is
therefore dissonant with the concept of "while".

while (1 == 1)
{
}

Is a better indicator of an infinite loop than for(;;) unless you're really bad at math.

Reply via email to