Downside: Proprietary AIDS -
>This style is used by default in Microsoft Visual Studio 2005 and Apple's Xcode.
Name:
Anonymous2009-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"); }
}