Space vs. Tabs... this is a real thing you nerds argue over?

Space vs. Tabs... this is a real thing you nerds argue over?

Other urls found in this thread:

github.com/stitchpunk
youtu.be/xa-4IAR_9Yw
twitter.com/NSFWRedditImage

Yeah it makes a difference

It's like capitalizations in titles
Some people capitalize all words
Some people only capitalise certain words
I personally capitalize all words in a title

>I personally capitalize all words in a title
even Of, The etc?

>OP, The Adventures Of The Cum-Thirsty Faggot

Seems alright

you're a fucking monster

That's disgusting.

...

No because your editor converts tabs to spaces. No one actually uses tabs, they press tab to get spaces.

No contest.

There's only one correct choice and that's spaces.

No desu a tab is a character. Look at an ASCII chart.

>all that extra backspacing
I'd be annoyed too.

your editor doesn't recognize indentation levels and backspace groups of spaces accordingly?

i understand if you don't like having to set your editor to do it or whatever, but if your editor *can't*, then you should drop it.

I started with tabs and didn't know any better
now I use 4 spaces where I used to have 1 tab

>using spaces

LMAOING @ YOUR LIVES

>No because your editor converts tabs to spaces.
Now you are making assumptions that people use the same text editor as you.

No. Tabs and spaces are both good, that's why I mix them every time I indent

Editors can convert tabs to any number of spaces, but not all 2-4 space indentations to tabs or other number of spaces at the same time, and thus using spaces makes you a fascist.

>2 space indent master race

Spaces are preferred by retards who think data belongs in source files. They try to format things like array initialization values so that columns are lined up in a way that would be ruined with a different tab width. Every efficiency conscious programmer hates having to do 2,3, or 4 things when we should only have to do 1 (delete the fucking tab). Initialization data is also more efficiently represented in csv files.

That's too filthy, TAB or bust.

>guaranteed consistency
>one keystroke
>able to shift more than one line at he same time
How can spacebar even compete?

Need a full webm of that scene with his chick on the couch

>tfw I set my vimrc so that pressing tab actually inputs 4 spaces.

I'm still pressing the spacebar out of habit tho.

>vim
>indent with space

Based chick.
The github's real also.

You never capitalise 'a', 'of', 'in', 'at', 'the' etc. in a title, unless they come at the start.

thanks for that autistic follow up.

ayy

github.com/stitchpunk

It's as stupid as using vim over emacs

it's true

but i use vim

>tfw look like richard hendricks
>tfw prefer tabs over spaces
>tfw prefer emacs over vim

is... is there hope for me to get dat facebook pu$$i???

no op this is a real thing autists argue over

it literally does not matter unless the language you're using complains about mixed tabs and spaces in which case you'll come to an agreement if you're not retarded

as long as you don't throw a hissy fit while being literally hitler.

>The Adventures of OP: The Cum-Thirsty Faggot

no, because the answer is obviously tabs

what sort of shitty text editor are you using that it doesn't even recognize the tab character?

>they actually took the time to make fake commits over the course of multiple months to make that profile
wow

Don't try to change the subject. We're talking about tabs and spaces.
I say spaces is the only way to go, because there will always be some faggots out there whose editors are configured with one tabstop = 8 characters.

Are you a systems programmer?

>not using .editorconfig with your text editor

>not knowing that it's really fucking easy to make old git commits

Personally I use both.

If I am the only one writing the code, I use tabs for indentation and spaces for lining up blocks. For example, if I am making an array that will span several lines, I use spaces to line all of the numbers up given they are all of the same character size. Stuff like that. I use tabs to show level indentation.

If I am writing code for a multi-person project, and nobody really minds, I use tabs. Many editors can interpret the invisible '\t' as whatever you set it to. For example, I like tabs that are four columns wide for just about everything; thus I set vim to do so. Let's say I am working with Miss Cutiemcbooty and Sir Mixalot. Miss Cutiemcbooty is a fan of eight column tabs to match DAT ASS and Sir Mixalot likes spaces instead of tabs so he can use his hipster two column space itty bitty waist indentation on HTML files and eight space (whyIdontknow) indentation in his R......oundthinginyourface files. They can each set their editors to interpret the character as such.

If you like VI(M), explanation on how to do this is on the vim wiki. For other editors, as long as they are more feature packed than textedit, read their wikis|manuals for instructions.

Picture Credit: youtu.be/xa-4IAR_9Yw

HQ bait

OVA ERE

Do people seriously hit the spacebar to indent? I always thought that the tabs vs spaces was an argument over how you'd have your editor act when you hit the tab key. I can't even fathom how somebody could stand smashing space 16 times just to indent every line

*tap* *tap* *tap* *tap* *tap* *tap* *tap* *tap* *tap* *tap* *tap* *tap*

Then you're capitalising wrong.

>Some people capitalize all words
That's wrong, though.

>Bob likes three-space tabs
>Jim likes four-space tabs
>Eddie is a degenerate pedophile who likes two-space tabs
>John mandated that everyone has to insert spaces instead of tabs
>Now everyone is unhappy
>We're gonna beat the shit out of Eddie now

Seriously?

I use python, and lots of conditional statements.

If I switch to spaces i'll be doubling my filesize.

> tabs4lyfe

In critical applications you must go with tab.

Is dick sucking vs. power-bottoming something you and your friends argue over?

Sort of... people have preferences, but nobody is that autistic about it. Personally I prefer tabs since you can change the width whenever you want, but believe consistency is more important (if a file was started using N spaces to indent, stick to that when editing it).

That episode mostly sucked btw.

If I were to make a script to replace tabs with spaces and otherwise, something like I should replace every \t by " ".
However for space to tabs, "[^ /t]" " should be replaced to "\t\t"

I have to make it work for more than two level of indent.

But whatever, we could also autistically argue over "never using more than 2 level of indent" or whatever.