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

https://www.strawpoll.me/12280388

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: 19
Thread images: 4

File: tabs-vs-spaces.jpg (126KB, 1440x679px) Image search: [Google]
tabs-vs-spaces.jpg
126KB, 1440x679px
https://www.strawpoll.me/12280388
>>
>>58818382
> 2 shiftwidth
FUCK OFF. WE DONT WANT YOUR BULLSHIT HERE.
MODS PLS BAN.
>>
>>58818400
4-width wastes too much space
>>
>>58818457
>4
>Not 1
You obviously don't care about readability, so just drop it one space further.
>>
>>58818508
If I didn't care about readability wouldn't I just not indent?
>>
File: bigot.jpg (23KB, 218x194px) Image search: [Google]
bigot.jpg
23KB, 218x194px
>tabs
>anyone can open your code and view it the way they like

>spaces
>???
>>
>>58818382
Spaces. There's no reason I should expect some characters to have a different width when using a monospaced font.
>>
>>58818382
Why aren't you using <pre>? Monospaced fonts are the most readable and it will allow you to format however you want.
>>
8 spaces
>>
Doesn't matter because you can easily convert one to the other to suit your preference. Also the project style guide might stipulate what you should use.
>>
>>58818662
>tabs
>different editors show your code in different ways

>spaces
>all editors show your code exactly how you wrote it

Never understood the tab meme 2bh, why people are putting control characters into their code is beyond me
>>
>Real programmers
>Busy contributing to projects and making a living

>/g/
>Busy arguing over inconsequential things like what language to learn first, what style to use, tabs or spaces
>>
>>58818974
gotta get the fundamentals right before you move on to the big leagues
>>
>>58819002
no you don't
>>
File: 1291429913599.jpg (47KB, 719x720px) Image search: [Google]
1291429913599.jpg
47KB, 719x720px
>>58818901
This

/thread
>>
File: 1476818921741.jpg (621KB, 1920x1080px) Image search: [Google]
1476818921741.jpg
621KB, 1920x1080px
>>58818892
the absolute madman of this thread
>>
>>58818382

As long as my IDE can manage that shit for me, I let it pick spaces for me.
>>
>>58818382
There is no advantage to using spaces.
Tabs allow you to specify their width in your editor.
>>
>Arguing about """programming""" related stuff's to prove /g/ how much of a """programmer""" because you do ""programming"" stuffs the thread.

Anyone that can't switch to between any tab, spaces and width shouldn't be allowed to post.
Thread posts: 19
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.