DEV Community


Discussion on: What programming best practice do you disagree with?

mt3o profile image

With tabs you can render them as you like ;p even as 3 or 7 spaces :)

Thread Thread
kl13nt profile image
Nabil Tharwat

I found this article helpful in understanding the difference:

Thread Thread
ghost profile image

The argument exposed there "accessibility by default" is flawed, accessibility needs of few are often opposed for the needs of the many. If you have trouble seeing 4 space indents, almos all editors have vertical lines, different colors, font size, space markers, etc. Is a weak argument for tabs. no 2 different characters should look alike, and unless you want to use tabs for all spacing, to me tabs are out. If I see a blank character I know what it is and can even estimate how many. That's why we use text editors and not word processors in the first place or let all just use MS Word or Libreoffice Write to program.