WetWired |
2002-04-10 01:02 PM |
C/C++ Indentation styles
I have two printouts taped up on the wall in my office, one of which is entitled "The 10 Commandments for C Programmers" and the other is a entitled "C/C++/Java Indentation Styles". The general reason that they are there is because my coworkers don't use the One True Brace Style (1TBS for short). Anyway, it caused me to wonder which indent/brace style you guys prefer.
Here is a link to a page that details them (the one on my wall, infact) www.effectivejava.com/steve/braces/main.html
| Choose your style and your indent size |
Just a fun poll, I won't get mad at you because you don't use 1TBS
--WetWired
|