3 ms·
I don’t think the complaint about braces is looking at the right issue. The issue with braces is that many languages allow multiple lines and indentation when
by makecheck 10y ago
I don’t think the complaint about braces is looking at the right issue.
The issue with braces is that many languages allow multiple lines and indentation when there are no braces. If languages required you to either say "if (foo) bar()" ON ONE LINE or use braces, 99.2% of all the issues would disappear. Heck, I’d be in favor of a new C17 standard just to add this restriction.