this post was submitted on 01 Mar 2025
203 points (93.2% liked)

Programmer Humor

21165 readers
1199 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 

Probably not a good title to seek upvotes. If it does get upvotes, more programmers get share in your pain ๐Ÿ˜…

you are viewing a single comment's thread
view the rest of the comments
[โ€“] brian@programming.dev 11 points 1 week ago (1 children)

most things seem to have settled on this, but tabs are so much better for accessibility. programmers with bad vision can have trouble differentiating smaller indentation levels, while some of them just bump the font size up so high that 4 spaces takes up too much screen space. each one can set a tab width that is comfortable for them. https://alexandersandberg.com/articles/default-to-tabs-instead-of-spaces-for-an-accessible-first-environment/ has some good arguments

with a forced formatter and a configured editor there really isn't any argument for spaces

[โ€“] Quetzalcutlass@lemmy.world 1 points 3 days ago* (last edited 3 days ago)

I remember people arguing over 2 vs 3 spaces, back when terminals only displayed 80 characters and every character width saved was a huge deal. (Oh god, memories of all the single-character variable names have returned to haunt me)

I can't go back, won't go back. I am so glad the Bad Old Days are over. *returns to coding on my dual-widescreen monitor setup*