this post was submitted on 03 Oct 2021
296 points (98.1% liked)

Programmer Humor

32560 readers
273 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] aidan@lemmy.world 3 points 1 year ago (1 children)

Yes so you can choose to follow that convention, but it being adjustable for reading is very useful for reading on different screensizes or with eyesight issues. Why not just set what you want in an editor config?

[–] lightsecond@programming.dev 3 points 1 year ago (1 children)

Well, life is about trade-offs and neither spaces or tabs are perfect in every scenario, but the industry overall prefers spaces over tabs nowadays and the tooling reflects that too. For me personally, as long as a project is consistent in its formatting and developers don't need to fight its tooling, I'm happy with either. We can yak shave all we want (and lots of people are doing that on the internets) but I hope I at least answered your initial question about why people prefer spaces over tabs.

[–] aidan@lemmy.world 2 points 1 year ago

That's fair, you did thank you!