[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 or 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: 18
Thread images: 2

File: 1444321777629.jpg (59KB, 554x439px) Image search: [Google]
1444321777629.jpg
59KB, 554x439px
One of these.
Bring your best arguments.
>>
>>59419566
Use a random mixture such that it will look absolutely terrible unless tabs are configured to be 8 spaces.
>>
>>59419595
The Whitespace programming language doesn't have this problem.
>>
>>59419566
I use tabs because they're easier to create and delete.
>>
I use spaces in Python and JS and tabs in Lua and C++ (also spaces for alignment in C++).

>>59420092
???? they're both one button press
>>
File: indentation.jpg (166KB, 857x1202px) Image search: [Google]
indentation.jpg
166KB, 857x1202px
>>
Tabs, so people who like 2 space indent and people who like 4 space invent can use the same file without modification.
>>
>>59420138
Only with tab to spaces. Otherwise you're hitting space eight times and pressing ctrl+shift+left all the time.
>>
>>59420371
Well yes, no one is asking you to press the space that many times you ape. You're supposed to use the tab key even when indentation is set to spaces.
>>
Depends on a project. I'm using spaces in c# and tabs in c++.
>>
>not setting Tab to have desired number of spaces in each project/language
>>
>>59419595
Kek
>>
No matter what convention you use it will trigger at least half of the programming autists.
>>
is there even any advantages to use spaces
>>
>>59419566
Configure IDE to recognize tab as four spaces
Problem solved
>>
>>59419566
Tabs, ony take up one ascii char on disk vs however many spaces you put in and uselessly making the files bigger.
>>
Spaces?! Spaces = raping the space key like fucking woodpecker...
>>
i dont know but automatic indenting makes me upset
Thread posts: 18
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.