this post was submitted on 25 Oct 2026
227 points (94.2% liked)

Programmer Humor

33786 readers
2558 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
[–] somegeek@programming.dev 23 points 10 hours ago (1 children)

React is absolute trash and people should stop using it

[–] Hugh@programming.dev 8 points 8 hours ago

I dont think that's an unpopular opinion

[–] HexesofVexes@lemmy.world 6 points 8 hours ago (1 children)

It is not viable to expect 80s/90s level code optimisation in 10's/20's software.

Yes you could in theory, but with deadlines and security requirements you realistically cannot!

load more comments (1 replies)
[–] kionay@lemmy.world 21 points 11 hours ago (4 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 (4 replies)
[–] bort@sopuli.xyz 10 points 10 hours ago* (last edited 10 hours ago) (1 children)
[–] kazerniel@quokk.au 7 points 8 hours ago* (last edited 8 hours ago)

Most likely. Some people in the bottom right have their face on the back of their head. (Also before I noticed that I checked in TinEye, and the earliest occurrence it found was Jan 2025.) And the whole pic has that AI way of smudging together shapes.

[–] WappleFF27@feddit.online 103 points 15 hours ago (7 children)

Using LLMs are not the same as using intellisense or compilers and there are a myriad number of reasons not to use it that could fill an entire book and I will look down on any company or freelance developer that uses it.

Yes I'll fight Linus over this and yes I'll be right.

load more comments (7 replies)
[–] BilliamBoberts@lemmy.world 15 points 11 hours ago (4 children)

Printers and fax machines are completely outmoded and should be removed from every environment.

[–] Appoxo@lemmy.dbzer0.com 5 points 8 hours ago (1 children)

Germany and Japan would like to have a word with you.

load more comments (1 replies)
load more comments (3 replies)
[–] canaryWart@programming.dev 3 points 7 hours ago

Nominal typing was a premature optimization. Product types should be structural and row polymorphic. And if they had been, dynamically typed languages nevdr would've needed to exist and wouldn't have waited so long to smuggle types back onto their data structures. That said, i'm kinda glad shell scripting languages exist.

load more comments
view more: ‹ prev next ›