this post was submitted on 07 May 2025
1131 points (96.9% liked)

Programmer Humor

23136 readers
865 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
[–] witx@lemmy.sdf.org 9 points 13 hours ago* (last edited 13 hours ago)

Wth is "Fixing memory leaks using pointers"?

[–] sheetzoos@lemmy.world 18 points 1 day ago (1 children)
[–] gradual@lemmings.world 14 points 1 day ago* (last edited 1 day ago) (1 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.

[–] SirQuack@feddit.nl 5 points 12 hours ago

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

[–] mavu@discuss.tchncs.de 11 points 1 day ago (1 children)

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

[–] SirQuack@feddit.nl 1 points 12 hours ago

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

[–] lobut@lemmy.ca 11 points 1 day 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 ... "

[–] mindbleach@sh.itjust.works 6 points 1 day ago (3 children)

First learning is last learning.

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

load more comments (3 replies)
[–] obinice@lemmy.world 46 points 1 day ago (15 children)

Okay but how do u center a div in 2025

[–] WhiskyTangoFoxtrot@lemmy.world 7 points 1 day ago* (last edited 1 day ago)

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

[–] letsgo@lemm.ee 7 points 1 day ago

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

[–] umbraroze@slrpnk.net 16 points 1 day ago (9 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.)

[–] Korhaka@sopuli.xyz 11 points 1 day ago (3 children)

So what is the point of these frameworks if they make it harder?

[–] Ricaz@lemmy.dbzer0.com 16 points 1 day ago (1 children)

If you spend a lot of time on a single framework, you will transcend and become a sort of frontend diety, growing multiple extra limbs allowing you to type in CSS classes faster than any mere mortal

[–] SaharaMaleikuhm@feddit.org 11 points 1 day ago (1 children)

Until everyone moves over to the next thing and you start from 0 again. Web dev is a nightmare.

load more comments (1 replies)
load more comments (2 replies)
load more comments (8 replies)
[–] hakunawazo@lemmy.world 2 points 1 day ago

It's not about the center, it's about the friends we made along the way.

[–] Blackmist@feddit.uk 10 points 1 day 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.

[–] burlemarx@lemmygrad.ml 3 points 1 day ago

2050: people still wondering how to center a div because html and CSS is a nightmare.

[–] Anomalocaris@lemm.ee 3 points 1 day ago

maybe the div is already where it's meant to be

load more comments (8 replies)
[–] excral@feddit.org 60 points 1 day 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.

[–] zerofk@lemm.ee 26 points 1 day 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)
[–] Semi_Hemi_Demigod@lemmy.world 221 points 2 days ago (1 children)

Love the shoutout to Margaret Hamilton

[–] Hope@lemmy.world 128 points 2 days ago (20 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.

load more comments (20 replies)
[–] RogueBanana@lemmy.zip 8 points 1 day ago

I can't remember some syntax unless I do it at least 100 times. I often look up stuff that I have already done before and know because of my goldfish memory.

[–] pastel_de_airfryer@lemmy.eco.br 58 points 1 day ago (11 children)

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

[–] bisby@lemmy.world 68 points 1 day ago (3 children)

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

[–] dubyakay@lemmy.ca 36 points 1 day ago (1 children)

Burnt into the old LCD screen.

load more comments (1 replies)
load more comments (2 replies)
[–] dejected_warp_core@lemmy.world 5 points 1 day ago (2 children)

Huh? Isn't it like right there at the bottom of the screen?

I guess not knowing that ^X means Control+X could be the issue, but still...

load more comments (2 replies)
load more comments (9 replies)

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!"

[–] wer2@lemm.ee 2 points 1 day ago

I know someone that still uses ed for all their code editing.

[–] vordalack@lemm.ee 18 points 1 day ago (13 children)

Can't exit Vim

Ah yes, the legendary filter

[–] Anomalocaris@lemm.ee 3 points 1 day ago

the only reason people use vim is because they are stuck in there

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