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

Programmer Humor

33823 readers
1948 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.

(page 3) 50 comments
sorted by: hot top controversial new old
[–] ATPA9@feddit.org 4 points 2 days ago (2 children)

Rust is a fusion of the worst parts from Javascript and c++.

load more comments (2 replies)
[–] portnull@lemmy.dbzer0.com 20 points 3 days ago (11 children)

Functional is better than object orientated programming

load more comments (11 replies)
[–] AlboTheGuy@feddit.nl 21 points 3 days ago

Java Is actually good for what it does, maintain long term systems that only need updating every once in a while

[–] BilboBargains@lemmy.world 8 points 2 days ago

About ten years ago I said that aircraft carriers are becoming increasingly irrelevant as missile and drone technology proliferates and develop.

[–] somegeek@programming.dev 26 points 3 days ago (3 children)

React is absolute trash and people should stop using it

load more comments (3 replies)
[–] Chaser@lemmy.zip 9 points 2 days ago (10 children)

Everyone who indents code with 4 spaces also eats children.

[–] khanh@lemmy.zip 3 points 2 days ago

what are you, a 2-space indenter?

load more comments (9 replies)
[–] firelizzard@programming.dev 12 points 3 days ago (2 children)

React is a plague. useState and all the other use hooks.

load more comments (2 replies)
[–] alsimoneau@lemmy.ca 20 points 3 days ago (5 children)

Java and JavaScript are blights and should never be used.

load more comments (5 replies)
[–] kionay@lemmy.world 24 points 3 days ago (6 children)

No single letter variable names. Yes I also mean the i in for loops you see in tutorials. Write out "index" or give it a more descriptive name. Doing the typing isn't the hard part of programming, nor the most time consuming, so making it take a teeny tiny bit longer by having longer variable names is more than worth the value of variables the effortlessly describe themselves.

line length is not that big of a problem anymore, we're not on CRTs, people are regularly developing with 4k monitors, we don't need to limit to 40 character lines but even still if you can't possibly think of a way to break up that long of a line and the only thing you can think of to make it shorter is using over-acronymized variable names then you've already lost the plot somewhere

load more comments (6 replies)
load more comments
view more: ‹ prev next ›