DEV Community

webdeasy.de
webdeasy.de

Posted on • Edited on

A difficult decision - Indentation

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? 😊

Top comments (1)

Collapse
 
nataliedeweerd profile image
𝐍𝐚𝐭𝐚𝐥𝐢𝐞 𝐝𝐞 𝐖𝐞𝐞𝐫𝐝

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.