3 ms·
if (error_of_fifth_kind) {goto fail;} {goto fail;} How do braces save you?
by stonemetal 13y ago
if (error_of_fifth_kind)
{goto fail;}
{goto fail;}
How do braces save you?
- Terr_ 13y agoThat's why you put your opening curly-braces on the same line as the if-statement, like the good lord intended! if(expr){ expr; }
- Dylan16807 13y agoYou don't allow naked braces either. They have to be tied to control flow.