you are viewing a single comment's thread
view the rest of the comments
[–] 14 points 6 months ago (1 child)

The drawback to spaces is that people with vision issues or dyslexia lose the ability to make the code more readable in their IDE by adjusting tab size.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 5 points 6 months ago

    I can't speak to dyslexia (but in would guess that 4 spaces is easier than 2?).

    At my last job we had a default linter policy of 4 spaces across all languages (python, JS, rust, mostly). We also had a blind coder. He never mentioned it. I'd guess screen readers are capable of dealing with it these days?

  • source
  • parent