Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Gentlemen, choose your weapons.

Name: Anonymous 2007-12-26 8:29

http://en.wikipedia.org/wiki/Indent_style

I pick: Allman style.

Downside: Proprietary AIDS -
>This style is used by default in Microsoft Visual Studio 2005 and Apple's Xcode.

Name: Anonymous 2009-03-18 5:23

I use Vim, it helps me to ident code properly.
I set tab width to 1 and listchars to ``tab:>-'' and set ``list'' on. Which means that my tabs are shown as a single blue ``>'' marks.

Then I indent all my code by 7 spaces initially, replacing a leftmost space with a tab for each additional indent level (using any indent style, that doesn't matter).

This way I have a nice uninterrupted flow of code AND a nice informative representation of code structure on the left.

       public static int main(string[] argv) {
     for (int i = 0; i < 10; i++) {
>>     System.out.println("Hello World");
     }
       }

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List