Left or Right?
Left or Right?
i like spaces
not enough to be autistic about it.
>tabs
>always more organized
>requires half the button pushes
litearlly no reason to go right
I always use either 2 or 4 spaces.
There's a song that goes with this. It goes something like this.
Whoever tabs, must stab. Whoever spaces, must wins in this case.
Tabs for indentation, spaces for alignment. Suckless made it clear. Now stop posting this thread every day.
Tabs for identation, spaces for alignment
does that song make sense or rhyme or something in whatever language you speak natively?
most retarded thing I've ever heard. just use fucking spaces for everything.
>>requires half the button pushes
are you retarded? your fucking editor converts tabs to spaces. you dont actualy indent by pressing space fucking moron
for some reason i prefer 3 spaces
I prefer tabs but don't mind spaces as long as they are 4 spaces OR more.
2 spaces is disgusting unreadable garbage and the sole reason I ditched Scala (an otherwise interesting language) and several other languages that adopted this asinine convention.
3 spaces is autism but still slightly more readable than 2 spaces trash
Might as well not even ident at that point
Tabs make file sizes smaller.
>>>requires half the button pushes
>are you retarded? your fucking editor converts tabs to spaces. you dont actualy indent by pressing space fucking moron
Your text editor should take care of this, but you probably use some shitty editor that doesn't even take care of indentation.
If spaces become a problem to the size of your source code, you're doing something wrong.
tabs ftw.
for people who prefer tabs, working on the code of someone who uses spaces is maddening
Tabs with 1 extra space
Tabs converted to double space
Objectively correct
fucking madman
>use gedit
>settings dictate that it inserts 4 spaces when pressint tab
Best of both worlds.
space.c
#include
int main() {
int i;
for(i = 0; i < 10; ++i) {
printf("Hello Sup Forums");
for(int g = 10; g > 0; g--) {
puts("Dope. ");
}
fprintf(stdout, "\n");
}
return 0;
}
tab.c
#include
int main() {
int i;
for(i = 0; i < 10; ++i) {
printf("Hello Sup Forums");
for(int g = 10; g > 0; g--) {
puts("Dope. ");
}
fprintf(stdout, "\n");
}
return 0;
}
tab.c size = 187 octets
space.c size = 228 octets
tabs are used for ...tabulation why do you want to use spaces? It's retarded, even your text editor knows it's shit and won't let you use "real" spaces and will use tabs under the hood to display the text.
Try changing tab by space in the settings and it won't change the size of the file.
>spaces
yeah, that's the way-
>two instead of four
REEEEEEEEEEEE
If I'm writing a new file in a project I own/command, I'll use tabs. If I'm editing another file, my editor will automagically detect the tab setup and Just Work.
Not a programmer or anything but I always felt tabs were nicer