Bill Lear [off-list ref] writes:
I've always found this a thoughtful practice. It helps ensure nobody writes:
if (bla)
just_one_line();
/* perhaps a comment, other stuff ... */
just_another_line();
It also simplify patches for cases like
if (bla) {
just_one_line();
+ another_added_line();
}
instead of
- if (bla)
+ if (bla) {
just_one_line();
+ another_added_line();
+ }
But it seems people here prefer not putting the braces in this case.
--
Matthieu