[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y / ] [Home]
4chanarchives logo

tabs vs spaces


Thread replies: 24
Thread images: 4

File: fry.png (188KB, 603x452px) Image search: [Google] [Yandex] [Bing]
fry.png
188KB, 603x452px
tabs vs spaces
>>
Did you mean to post this in the list of most autistic arguments ever conceived by man, right next to mathematial ontology?
>>
>>54988286
Tabs for indentation, spaces for alignment.

That, and with tabs you can always tell your editor how many spaces a tab should be worth. For example I like to code in Ruby with 2-space indentation, and my colleague likes to use 4. And we get to work on the exact same code.

Using spaces also takes up less disk-space, not that is particularly matters much these days.
>>
Spaces.
>>
>>54988286
Tabs
>less key strokes
>efficiency at its maximum
>write code faster for the overloards
>abc
>always be coding
>>
>>54989046
>>54988351
>>54988322
Don't feed this faggot with replies
>>
Tabs
>>
File: giphy-facebook_s.jpg.gif (89KB, 480x270px) Image search: [Google] [Yandex] [Bing]
giphy-facebook_s.jpg.gif
89KB, 480x270px
>>54988322
>>54989046
>>54989154
tabs are winning so far.
>>
Spaces
>>
set tabs to equal 4 spaces
>>
>>54988286
I always use tabs because it allows for less keystrokes. Once I am finished with the file, I run a script to replace each tab with 5 spaces. Spaces make it much easier to read, comment, and just manage the text in general.
>>
>>54989238
Are you literally retarded?
>>
>>54989258
he's just pretending to be
>>
File: m8b7gr9.png (91KB, 800x600px) Image search: [Google] [Yandex] [Bing]
m8b7gr9.png
91KB, 800x600px
>>54989046
>being this retarded
>>
>>54989277
>>54989258
Please reply with an argument. What is wrong with my method?
>>
Tabs, because me space bar is broken
>>
Tabs because spaces are a waste of space.
Why the fuck would you bloat your code files with 4 spaces instead of 1 tab?
>>
>>54988286
yes
>>
>>54989358
any editor that doesn't suck will allow to put in x spaces automatically when you press tab
>>
>>54988286
of course
>>
>>54989046
>coding
>>
File: 1465423800611.gif (603KB, 320x240px) Image search: [Google] [Yandex] [Bing]
1465423800611.gif
603KB, 320x240px
>>54988286
both
>>
>>54988286
IF YOUR TABSTOP IS ANYTHING OTHER THAN 8 CHARACTERS IT IS WRONG
>>
>>54988286
https://www.emacswiki.org/emacs/TabsAreEvil
Thread replies: 24
Thread images: 4
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y / ] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
If a post contains illegal content, please click on its [Report] button and follow the instructions.
This is a 4chan archive - all of the content originated from them. If you need information for a Poster - you need to contact them.
This website shows only archived content and is not affiliated with 4chan in any way.
If you like this website please support us by donating with Bitcoin at 1XVgDnu36zCj97gLdeSwHMdiJaBkqhtMK