[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]

>Her boyfriend uses Tabs instead of Spaces, what a loser.

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: 13
Thread images: 2

File: killmeplease.jpg (8KB, 237x213px) Image search: [Google]
killmeplease.jpg
8KB, 237x213px
>Her boyfriend uses Tabs instead of Spaces, what a loser.
>>
>>59807109
No one uses spaces unironically. Stop forcing memes.
>>
I use spaces...
>>
Python standard: spaces > tabs
>>
>>59807188
This
>>
>>59807109
>She doesnt want mixed-race children

Fixed
>>
Tabs is the most universally accepted standard, you can just adjust your spacing by configuring your editor, while with spaces you are stuck with whatever the guy before you set.
>>
>>59807610


http://www.php-fig.org/psr/psr-1/
>Code MUST use 4 spaces for indenting, not tabs

https://msdn.microsoft.com/en-us/library/ff926074.aspx
>Use the default Code Editor settings (smart indenting, four-character indents, tabs saved as spaces)
>>
>>59807109
Tabs are theoretically better than spaces for indenting. Since everyone can set up how much spaces a tab should be in their editor themselves. But a lot of idiots use tabs for aligning code, too. Mixing it with spaces. And then it looks like shit on every other setting. I see that all the time.

So I do prefer spaces.
>>
>>59808637
>http://www.php-fig.org/psr/psr-1/
>ctrl f tabs
>0 results
>ctrl f inden
>0 results
Just a lie

>https://msdn.microsoft.com/en-us/library/ff926074.aspx
>Good layout uses formatting to emphasize the structure of your code and to make the code easier to read. Microsoft examples and samples conform to the following conventions:

It just states that the examples on their website do this, not that you should do this.

Any real arguments?
>>
>>59807109
I would like to argue that it literally does not matter as tools exist to automatically format any language that matters
>>
File: Knipsel.png (7KB, 442x237px) Image search: [Google]
Knipsel.png
7KB, 442x237px
https://stackoverflow.com/insights/survey/2017#work-tabs-or-spaces
>>
>>59808762
Wrong link for the first one.
http://www.php-fig.org/psr/psr-2/
Thread posts: 13
Thread images: 2


[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.