"you still have the underlying problem that people are doing things without thinking"
You can solve this problem?
Re:Plan 9 Coding Conventions for C
by zimpenfish on Wednesday May 22, 2013 @09:23AM
(#5750601)
Why not take advantage of every safety net you can?
People are fallible, mistakes get made.
Re:Plan 9 Coding Conventions for C
by loup-vaillant on Wednesday May 22, 2013 @10:48AM
(#5751214)
Because if you do, the safety net will collapse your circus tent by their sheer weight.
The actual argument has been made in sibling comments: braces are verbose, and the mistake we speak of is exceedingly rare in practice. For simple one-liners, the verbosity costs more than the lack of safety net.
If you had a coding convention of always using braces in if statements, you might be insulated from this particular symptom or instance of the problem, but you still have the underlying problem that people are doing things without thinking.