Zelaron Gaming Forum

Zelaron Gaming Forum (http://zelaron.com/forum/index.php)
-   Tech Help (http://zelaron.com/forum/forumdisplay.php?f=329)
-   -   C/C++ Indentation styles (http://zelaron.com/forum/showthread.php?t=2304)

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

Edit: 
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

Badass Gandhi 2002-04-10 01:16 PM

Allman @ 4 spaces

BlueCube 2002-04-13 04:16 PM

Allman, 3 spaces.

Mr.Lee 2002-04-14 06:21 AM

4 spaces


All times are GMT -6. The time now is 01:51 AM.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
This site is best seen with your eyes open.