DEV Community

Discussion on: Tabs v. Spaces: Let’s decide this

Collapse
 
codemouse92 profile image
Jason C. McDonald

Let's not "decide"! Use what works for your project. One project needs tabs; another needs spaces. It depends on the project goals, the development tools, and the team's needs. To make a declaration that one is objectively and unilaterally better than the other is to assume one knows all the possible projects that could ever exist.

Collapse
 
nelsonmestevao profile image
Nelson Estevão

We can not forget that Makefiles need tabs! I use spaces everywhere but I need to have my editor configured to use tabs when I am editing a Makefile.

I use both and that's the reason. Honestly, I always use the formatter in the end. So, do you remember go fmt? Yap, it converts all my spaces to tabs again.