Skip to content

Comment on Indentation TABS vs. SPACES

Comments

If you work on a project solo it doesn't matter if you stay consistent (for yourself at least).

if you work on a project with multiple collaborators pick one (i.e. tabs or spaces) and stick with it (i.e. enforce it during code reviews).

I personally use tabs but those get expanded to 4 spaces by Vim. Works for me!

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.