this post was submitted on 25 Oct 2026
371 points (95.1% liked)

Programmer Humor

33844 readers
1559 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
[–] mindbleach@sh.itjust.works 12 points 2 days ago (1 children)

Using spaces at all is indefensible. We have a universal control character specifically to indent code however you want, clientside. I don't care if your variables line up perfectly when they don't fit on one line. Stop trying to do ASCII art with semantic syntax.

[–] bitfucker@programming.dev 1 points 2 days ago* (last edited 2 days ago) (1 children)

Ahh see, off-side rules is another shit that should die already (whitespace as indentation/scope)

[–] mindbleach@sh.itjust.works 2 points 2 days ago* (last edited 2 days ago)

Load-bearing whitespace like Python, yeah, absolutely. We can't take a language seriously when the primary cause of incompatibility is literally unprintable.

But indent your damn code. It's universal for a reason. If the text exists to be read by humans, format it for how humans think.