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

Programmer Humor

33823 readers
1822 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
[–] ThunderComplex@lemmy.today 14 points 3 days ago (1 children)

I am with you all the way. For a high level programming language it’s incredible how close to C it is at times AND how many footguns the entire language has.
And you always hear the “a poor craftsman blames his tools” analogy when someone says PHP bad. But PHP is a hammer that’ll blow your arm clean off when you hit a nail at a slightly off angle.
There is no defending it, and it should have been replaced with better languages several times over.

Ok I need to stop myself now I can rant about this language for hours

[–] Hasherm0n@lemmy.world 11 points 3 days ago (1 children)

I saw a nice counter to the "a poor craftsman..." analogy the other day that basically boiled down to a master craftsman will have very high standards about the tools they use.

[–] ThunderComplex@lemmy.today 5 points 3 days ago

Yeah, I wholeheartedly agree with this. And it's not only frustrating that PHP doesn't live up to the high bar, every ""major"" update to PHP (that you graciously only get once a year) is only a small step in the right direction. They try to modernize it, buuut also try to keep it as backwards compatible as possible.

And I think I've also seen a counter to the "a master craftsman will have very high standards" argument that boils down to "a master craftsman can work with any tool regardless of quality" but why can't we have higher standards in the programming world?