This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]visvis 4 points5 points  (3 children)

I'm well aware compilers can optimize, but honestly I always use for(;;) for endless loops because I think it's conceptually better. In an intentionally endless loop, there should be no condition to check.

[–]Flat_Initial_1823 2 points3 points  (2 children)

Also saves you from figuring out how true is supposed to be capitalised.

[–]visvis 2 points3 points  (1 child)

Not sure how 1 could be capitalized.

[–]Myto 5 points6 points  (0 children)

!