DEV Community

Discussion on: Tabs vs Spaces?

Collapse
 
alexdesousa profile image
Alex de Sousa

I use spaces, but I've heard a compelling argument favouring tabs.

Tab width can be customized easily in any editor. This is useful for people with visual impairments:

If someone needs larger fonts, then, to fit relevant code in the screen, reducing the tab width might help. With spaces, this kind of customization is hard to accomplish.

This same argument works for 80 character lines.

In the end, I don't really care. I would gladly switch to tabs if that helps people with visual impairments to contribute to open source or private code bases. I only care about consistency.