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

Tabs vs Spaces (yes, again!)

Name: Anonymous 2008-04-22 0:55

PIG DISGUSTING

{
    int a    = 3;
    int ab    = 4;
    // ...
}



{
   int a  = 3;
   int ab = 4;
}


BEAUTIFUL AND NICE

{
    int a  = 3;
    int ab = 4;
}


Style 1 (all tabs) will look fucked up vertical alignment with different tab widths. Style 2 (all spaces) will look weird to those used to different tab widths. Style 3 (tabs to indent, spaces to align), on the other hand, is made of epic win because it allows one to change the tab width without losing the nice vertical alignment, and those who really like all spaces can easily have their editor auto-convert tabs to spaces.

Style 3 > Style 2 > Style 1. If you use Style 1, you're an asshole.

Name: Anonymous 2008-04-23 9:43

>>58
You are wrong. It's great. It could be very useful when used together with version control and teams of programmers where each one of them prefers a different code style.

No more tabs vs. spaces, because there will be none actually needed to store the code (only exception to this I can think of are comments). Also, automatic code checking and other nice things will be much easier to do with this.

In other words: FUCK YOU.

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