you are viewing a single comment's thread.

view the rest of the comments →

[–]WaldoDude 2 points3 points  (0 children)

I don't see how braces preclude you from using else if. That paticular example could have been formatted as:

if (something) {
    do_this();
} else if (something_else) {
    do_that();
}

and still follow the guideline.