this post was submitted on 07 May 2025
1136 points (96.8% liked)

Programmer Humor

23147 readers
976 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 2 years ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 10 points 1 day ago* (last edited 1 day ago)

Wth is "Fixing memory leaks using pointers"?

[–] [email protected] 18 points 2 days ago (1 children)
[–] [email protected] 15 points 2 days ago* (last edited 2 days ago) (3 children)

Honestly, CSS is a fucking joke and it's solely to blame for why centering something isn't always straightforward.

By the way, this picture is a crock of shit for people who aren't programmers. Anyone who is a programmer will not take it seriously because programming is so much more about helping others instead of shaming them.

[–] [email protected] 6 points 1 day ago (1 children)

Stackoverflow: exists solely from the urge of developers to help developers, and since ExpertsExchange was paid dogshit.
This meme: pisses on its whole purpose.

[–] [email protected] 1 points 20 hours ago

Stackoverflow is for senior devs to clown on junior devs. It's the inverse of helping juniors.

load more comments (2 replies)
[–] [email protected] 221 points 3 days ago (1 children)

Love the shoutout to Margaret Hamilton

[–] [email protected] 46 points 2 days ago (16 children)

Okay but how do u center a div in 2025

[–] [email protected] 1 points 20 hours ago

use

display: flex flex-direction: column align-items: center

on the parent container

[–] [email protected] 16 points 2 days ago (16 children)

If using plain CSS, usually it's enough to set width appropriately, and margin-left and margin-right to auto.

If using a Modern Frontend/CSS Framework, then may God have mercy on your poor soul.

(Seriously I just started a new project with TailwindCSS and I'm so confused. But not entirely desperate yet.)

load more comments (16 replies)
[–] [email protected] 7 points 2 days ago* (last edited 2 days ago)

Make your web page in GIMP, export to PNG, <img>.

[–] [email protected] 7 points 2 days ago

Same way you did it in 2024 but it's easier because the springgirdles have been replaced with rotated manglebrackets.

[–] [email protected] 10 points 2 days ago

Depends if you're centering the div or the things in the div. Which has probably been the main issue since CSS was invented.

load more comments (11 replies)
[–] [email protected] 60 points 2 days ago (1 children)

My experience is that the programmers from the first row very much still exist. My theory is that the number of programmers from the first row stayed the about same or even increased slightly. There are so many more so called "programmers" overall now, however, that in relation the first row programmers are much rarer now. And to be fair, you don't need a programmer capable of programming entire games in assembly to center a div.

[–] [email protected] 26 points 2 days ago (4 children)

And vice versa, you don’t need to know how to centre a div to create a game in assembler. I’m comfortable using pointers and managing memory, but don’t ask me to do anything with web UI.

load more comments (4 replies)
[–] [email protected] 127 points 3 days ago (18 children)

I feel very confident in my understanding of random 8 bit CPUs and their support chips, but asking me to center a div is like this xkcd.

[–] [email protected] 55 points 3 days ago (1 children)
[–] [email protected] 53 points 3 days ago (2 children)

(joke)
YOU FOOL! THE ACTUAL COMMAND WAS tar -?

load more comments (2 replies)
load more comments (17 replies)
[–] [email protected] 11 points 2 days ago (1 children)

Nah, it's not that bad.
In 10 years with continued AI use? Yep.

[–] [email protected] 1 points 1 day ago

I'm thankful for AI. It guarantees my job as developer will continue to exist to repair all future AI-damage.

[–] [email protected] 58 points 2 days ago (13 children)

I once had a junior calling me in a panic because he didn't know how to quit nano. NANO!

[–] [email protected] 68 points 2 days ago (3 children)

Nano... Like... The one that has all the keybinds permanently shown at the bottom of the screen?

[–] [email protected] 36 points 2 days ago (1 children)

Burnt into the old LCD screen.

load more comments (1 replies)
load more comments (2 replies)
load more comments (12 replies)
[–] [email protected] 11 points 2 days ago (1 children)

I started with C++ and went to Java to .NET to Javascript and now to Terraform.

I know this is all a joke but there's something definitely different with the ones above and the ones below. There's a bit of satisfaction you can get sometimes when you're working with memory directly and getting faster feedback (yes, there's more math back then and it wasn't easy to look stuff up, for sure). However, there's new challenges nowadays ... there's so many layers on top of layers. I feel as though Stack Overflow and ChatGPT are so needed because the error messages and things we give are obfuscated or unclear (not always any library author's fault as there's compatibility issues, etc)

We're doing serverless stuff at my current company and none of our devs run code locally. They have to upload it using CDK or Serverless Framework to run on the cloud. We don't use SST so we can't set breakpoints but like that's a lot of crap inbetween just running your code already. Not even getting into the libraries and transpilers and stuff we use. I spent like a few weeks over Christmas to get our devs to run the code locally. Guess what? None of them use it because they're so use to uploading it. I was like, "you can put breakpoints in it! you can have nodemon and it instant reloads! nope, none of them care ... "

[–] [email protected] 6 points 2 days ago (3 children)

First learning is last learning.

Same reason we still do console.log("FUCK").

load more comments (3 replies)
[–] [email protected] 35 points 2 days ago

QA: "Yeah, Hi. Can you look at this defect ticket?"

Reading ticket details...

Me: "Let me guess. Is [whatshisname] responsible for this?"

QA: "Yeah."

Me: "Get him to fix it."

QA: "I tried. Like four times."

Me: Sigh "I'll take care of it."

QA: "Thank you!"

[–] [email protected] 65 points 3 days ago (4 children)

Hey now. Searching stack overflow circia 2011 to 2018 was an Art. You had to know enough to find the correct question that wasn't deleted because a mod thought it was a duplicate of another question

load more comments (4 replies)
[–] [email protected] 37 points 2 days ago (8 children)

80s programmers hated Unix, btw. Look up Unix Haters Handbook, it's a free and funny read

[–] [email protected] 2 points 1 day ago

A lot of it was fair criticism at the time. Linux fixed some of what was wrong. Having a good sudo config mostly resolves the problem of having one superuser account, and big, multiuser systems are a lot less common now, anyway. X's network transparency features aren't that useful in modern computing contexts, either, though I have found a few over the years.

But mostly, it's because the landscape changed from a hundred Unix vendors vs a bunch of other OSen, to now where it's Windows vs Linux vs OSX. By that comparison, the two with Unix-derived history look well thought out.

(This also implies that NextStep was the one old Unix vendor that has survived in a meaningful way. I don't think anyone would have guessed that 30 years ago.)

load more comments (7 replies)
[–] [email protected] 47 points 3 days ago (5 children)

One of my favourite game dev stories from the 1980s is the story of Elite. It was a game people thought couldn't be made. Most devs thought hardware wasn't powerful enough and publishers thought it wouldn't be fun enough.

It was one of the first properly 3D open world video games ever made. I think when it released it sold nearly as many copies as there were home computers that could run it.

In order to make the game small enough to fit on a cassette tape they had to ditch basic and program the entire game, world in assembly.

There's a fantastic video about it here: https://youtu.be/lC4YLMLar5I

load more comments (5 replies)
[–] [email protected] 35 points 2 days ago (2 children)

Hey buddy, if I fix one bug and cause three more, it's called job security. Where's my medal?

load more comments (2 replies)
[–] [email protected] 18 points 2 days ago (13 children)

Can't exit Vim

Ah yes, the legendary filter

load more comments (13 replies)
[–] [email protected] 38 points 3 days ago (4 children)

I feel attacked by "how to center div 2025"

load more comments (4 replies)
[–] [email protected] 30 points 2 days ago (1 children)

I once had an intern attempt to install sudo using NPM and when that didn't work he asked ChatGPT "Why can't I install sudo from NPM?" while I'm trying to explain it to him.

He was smart, but somehow knew very little about commercial computers despite being on the verge of getting his master's in computer science.

load more comments (1 replies)
[–] [email protected] 43 points 3 days ago (2 children)

The missing middle section was documentation and QA getting worse

load more comments (2 replies)
load more comments
view more: next ›