[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

tabs vs spaces

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 24
Thread images: 4

File: fry.png (188KB, 603x452px) Image search: [Google]
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]
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]
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]
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 posts: 24
Thread images: 4


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
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.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.