[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

Tab vs space for indentation


Thread replies: 6
Thread images: 2

File: image.jpg (131KB, 1440x679px) Image search: [Google] [Yandex] [Bing]
image.jpg
131KB, 1440x679px
Tab is so much better.

But I also use space for text alignment after tabs.

Why do some fags insist at using 4 spaces?
>>
Here we can see the average g user in its natural habitat...
>>
File: images.jpg (8KB, 246x205px) Image search: [Google] [Yandex] [Bing]
images.jpg
8KB, 246x205px
Everyone cared about what I use until they found the reindent hot key
>>
>>53878937

This.

If your editor doesn't unfuck indentation for you, you're wasting your time.
>>
>>53878962
>some jackass on the project used different indentation
>refactor
>git change: every fucking line
fug
>>
Tabs obviously, so everyone can choose whatever indent they like. I prefer 2-space-width tabs.

If you need to align columns, you can do that using spaces, after the indentation.
Thread replies: 6
Thread images: 2
[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