Quote:
Originally Posted by gaming_mouse
not sure why you'd get personally offended by this, but there are very few experienced programmers i know who put braces on their own line. just because something is a convention doesn't make it good practice.
Almost all non lisp programmers put most closing braces on their own lines. Even opening braces are put on their own lines at least in some cases (function/class declaration) in most common indentation styles (K&R, Allman, BSD, GNU etc).
"Opening braces never get their own line" style only became popular with Java and Javascript and isn't followed by most C/C++/C# projects. I can't think of a single significant C/C++ open-source project that uses that style, while I can think of a lot that don't (Linux, Emacs, GCC, FireFox, WebKit, BSD, anything else from GNU/BSD communities, etc, etc).
Edit: Btw, don't get me wrong, I'm in your camp, just saying that this style is relatively new (in terms of popularity), which means truly "experienced" people would tend to use older styles.