On 25.11.2016 11:33, Claude wrote:
...

Between "for(;;)", "while(true)" and "do while(true)", I would use the
"while (true) { }" for pure readability and semantic reasons.
...

What semantic reasons?

I reckon "for(;;)" form is used for debug reasons (so you can easily
insert conditions to transform an infinite loop into a finite one).

You can just as easily edit the while condition. I use it because "unconditional loop" is less silly than "loop until true is false".

Reply via email to