@cmuratori @tom_forsyth @TheJare @vgebler The compiler can't be sure the 1 isn't a macro expansion. for(;;) is an unambiguous alternative.
@taradinoc @tom_forsyth @TheJare @vgebler So the only thing the warning does is make me type something else. It does reduce the error rate.
-
-
@taradinoc@tom_forsyth@TheJare@vgebler If I'm blind or stupid, I'm just as likely to incorrectly type for(;;) as while(1), etc. -
@taradinoc@tom_forsyth@TheJare@vgebler But any reasonable programmer never types while(1) or while(0) if they didn't mean it. - Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.