this post was submitted on 25 Oct 2026
374 points (95.2% liked)

Programmer Humor

34016 readers
1472 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 3 years ago
MODERATORS
 

Mine is that the useState hook is an actual plague on the entire React ecosystem. Regardless of your opinions of React, if you wanna use something then use it right.

you are viewing a single comment's thread
view the rest of the comments
[–] frisbird@lemmy.ml 79 points 2 weeks ago (25 children)

Tabs are better than spaces

[–] danhab99@programming.dev 22 points 2 weeks ago (7 children)

Tab chars are better than spaces AND the correct tab width is 2 spaces

[–] Humanius@lemmy.world 2 points 2 weeks ago (3 children)

I was on board with the first guy, but this is going too far. We should compromise between the 2- and 4-spaces camp, and we settle on 3 spaces.

[–] lord_ryvan@ttrpg.network 1 points 3 days ago

It doesn't matter with tabs, which is a big reason why I'm team tabs.

load more comments (2 replies)
load more comments (5 replies)
load more comments (22 replies)