Tabs vs Spaces For Indentation 📊

Tabs vs Spaces
  • Spaces are superior for indenting code
  • Tabs are superior for indenting code
0 voters

Agreeing that the linter should settle it once, I'd add that the accessibility angle cuts both ways: spaces fixed at a set width can be too narrow for some readers, while tabs let them widen indentation in their own editor without touching the file. That argues for tabs as the more considerate default, with a formatter keeping alignment consistent anyway. The pasted-into-docs concern is real, though, so the practical answer may just be picking the one the tooling already enforces and not fighting it.