A difficult decision - Indentation

twitter logo ・1 min read

It's probably a question one has always asked oneself and will probably still ask in 100 years time...

So, I have started a poll on Twitter:

Do you use 2 Whitespaces or 1 Tab (4 Whitespaces) in your code?


(click on the tweet to see the voting)

Which one do you use and why? 😊

twitter logo DISCUSS (1)
markdown guide
 

I tab, but my tab is set to 4 spaces. It makes it easier for me to spot bugs as the visual indentation is more extreme.

Classic DEV Post from Apr 1

How I Write Online Articles

How you can write online articles

WebDEasy profile image
German Front- & Backend Web Developer. Let us change the world!