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
-
Prutser2228yI am not a web dev by profession, but whenever I create a site I also support this recommendation
-
Prutser2228yYup, no tabs.
But the reason for that is a stupid one: when I started coding I always indented by using spaces.
Now years later... I almost completely converted to using tabs, but am still using spaces in some cases (like HTML) -
I config my IDEs to assign the tab key to output 4 spaces. And for HTML/CSS/JS, set tab = 2 spaces.
-
mundo0349788yI personally don't care how much indentation is there. I use tabs, never spaces. Luckily Atom is smart enough to define how much is a tab for me so I don't have to worry.
-
rmahey5988yHTML and most web dev 2 spaces is the global standard. HTML5, HAML, ERB, rabl, etc....
Related Rants
How many web devs support this 😂
undefined
w3c
tabs vs spaces