Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
tytho23148yThe argument is really consistency. Sure, it would be more consistent if everyone used tabs, but the fact is, you'll never convince everyone to always use tabs. I usually set up my editor to display tabs with a slight background change sonI can smack anyone upside the head who is inconsistent.
-
Glamhoth4938y@tytho Main reason is that you can set indent length, mine is 8 chars but friends has 4 chars, so we can see each others code in most clear way.
-
tytho23148y@Glamhoth right, which is why tabs are clearly superior. But different development communities have different standards, and it's more important that you're consistent with your projects than it is to start a holy war
-
Because spaces mean your vertical alignment is guaranteed to be as correct as your horizontal alignment.
-
philcr30548yMy brother is a spaces tit, I do see his point that no matter the editor they always line up. I use tabs because I always have since I've been doing grown up programming
-
IDEs convert tabs to spaces anyways. I cringe with people who count their spaces as they manually type them out.
-
Tisila4158yI've been using Brackets for HTML coding, chose tab size 4 yet it doesn't fix the remaining code. Reading it is somewhat tedious.
I can't understand why people would use spaces over tabs to do indents in code. It's horrible.
undefined