4 ms·
>> Do not unnecessarily use braces where a single statement will do. Shouldn't this be changed to always use braces? Given the Apple bug?
by geekam 12y ago
>> Do not unnecessarily use braces where a single statement will do.
Shouldn't this be changed to always use braces? Given the Apple bug?
- dllthomas 12y agoThe "Apple bug" - I assume you mean the duplicated "goto fail" - isn't really a common kind of error. That said, there are others that "braces everywhere" does protect from somewhat. The question is whether the clutter trades off too much in readability. Linus apparently thinks it does.