Spaces > Tabs

Spaces > Tabs

Attached: slide_space_vs_tab-620x465-100417701-gallery.idge.jpg (620x465, 38K)

Other urls found in this thread:

youtu.be/SsoOG6ZeyUI
twitter.com/NSFWRedditGif

>javascript
>java
>python
>scala
>ruby
>c#
>php
useful metric, use tabs apparently

youtu.be/SsoOG6ZeyUI

Attached: WuqG0FI.gif (480x270, 993K)

fucking gross, why does this show exist, there's no way this appeals to nerds or normies

Linux uses 8 spaces for indentation. The only problem I have with spaces is that they take up more space, 8x in the cases of 8-level indentations. In fact, if you replace the kernel repo with tabs, you reduce the repo size by 17%. The problem of course is you still need spaces for alignment, and mixing tabs and spaces is disgusting. So spaces it is.

>pressing the tab button once or twice like a balanced individual
vs
>smacking the space button eight or more times like a stupid ape

Indians do the most crimes in India
Therefore Indians are all criminals.

>his text editors doesn't input spaces when he hits tab

Tabs are for indentation. Spaces are for alignment.

I think everyone uses tabs but text editors just convert tab press to spaces.

bump

SMART and the correct answer! You win a imaginary coin.

so you don't have to.

>mixing tabs and spaces is disgusting
If by disgusting you mean it maintains proper formatting while allowing variable tab width, then yes it is.

Yup, spaces are thr way to go
/thread

>The sole purpose of tabs is indentation
>lol gonna use spaces to force my opinions on indentation ont oothers
Fuck right off you snowflakes.

based and redpilled

>8*sizeof(char)
vs
>sizeof(char)
What a (literally) horrible waste of space(s)

>what is compression
Literally irrelevant when the compressed tarball is the same size as tabs.

>he doesn't write minified code already from the start

So why even have indentation? Why even have newlines? Write everything on one single line.

Spaces can be used for both indentation, alignment, and spacing. Tabs cannot. Tabs are therefor inferior and a redundant character.
The only correct use of tabs is to replace all spaces with tabs, like pic related. And suddenly you see just how retarded tabs are. Don't mix tabs and spaces, just use spaces.

Attached: Screenshot_2018-10-15_14-11-16.png (590x362, 8K)

>open someone elses code that uses different indentation size than your editor is set to
>with tabs, everything works fine, because the indentation size isn’t baked in
>with spaces, your formatting breaks and you have to conform to the indentation someone else used or replace everything with your indents

What pros do spaces have? They take up more space and they aren’t variable width.

Now try to change indentation width without fucking up alignment. You can effortlessly do it if you used tabs for indenting and spaces for aligning.

Who even think about this? I just code and then autoformat it no big deal.