/
Write
Start a team blog
NEW ✨
Start a team blog, invite your team, and start publishing.
What do you prefer while programming, Tabs or Spaces when indenting code?

What do you prefer while programming, Tabs or Spaces when indenting code?

Joshua Pack's photo
Joshua Pack
·Feb 5, 2016

Tabs

58%

2 Spaces

20%

4 Spaces

18%

Any Spaces, just not Tabs!

4%

138 votes · Closed

I wanted to see what everyone here used. I heard in languages like Haskell, spaces are a must. In Makefiles, TABS are a must.

But let's talk about our personal preference! Mine personally is 2 spaces. I feel like the code is easier to read. However, in my IDE, I press the Tab button to create the 2 space indentation.

So what do you prefer?