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

Programmer Humor

23119 readers
877 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] 11 points 14 hours ago (1 children)
[–] [email protected] 4 points 14 hours ago

War horses and elephants entered the chat

[–] [email protected] 10 points 14 hours ago* (last edited 14 hours ago)

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] 9 points 16 hours ago

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

[–] [email protected] 10 points 17 hours 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] 5 points 16 hours ago (1 children)

First learning is last learning.

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

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

First learning is last learning.

I'll be the dumb one to ask: what do you mean? Is this that making a mistake that costs a lot is the best teacher, because you only have to mess it up once to learn it forever?

[–] [email protected] 5 points 15 hours ago

Pretty sure they mean people don't learn something again when they already learned it. Once you learn how to do something, willingness to learn it again but a different way dries up, and so you stick to bad habits as long as they 'work'

[–] [email protected] 2 points 15 hours ago

It's a mantra about teaching people and then expecting them to forget it. Doesn't work. They'll default to what they already know.

My freshman English teacher got married in October and I called her by her maiden name the entire year.

Like all programming mantras, it's not universally true, but it's annoyingly reliable. It reflects the shape of the human brain.

[–] [email protected] 2 points 13 hours ago

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

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

Okay but how do u center a div in 2025

[–] [email protected] 2 points 12 hours ago

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

[–] [email protected] 6 points 16 hours ago* (last edited 16 hours ago)

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

[–] [email protected] 7 points 17 hours ago

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

[–] [email protected] 3 points 15 hours ago

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

[–] [email protected] 3 points 15 hours ago

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

[–] [email protected] 16 points 1 day ago (8 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.)

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

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

[–] [email protected] 15 points 23 hours 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

[–] [email protected] 11 points 23 hours 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)
[–] [email protected] 5 points 19 hours ago

Generally I find many these frameworks will make some complicated things simple, but the cost is some things that were once simple are now complicated. They can be great if you just need the things they simplify - or in other words can stick to what they were intended for, but my favorite way of keeping things simple is to avoid using complicated and heavy frameworks.

load more comments (1 replies)
load more comments (7 replies)
[–] [email protected] 9 points 23 hours 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 (8 replies)
[–] [email protected] 8 points 20 hours 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.

[–] [email protected] 59 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.

[–] [email protected] 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.

[–] [email protected] 4 points 19 hours ago

This can be generalized to say that programming has become such a diverse profession that you will find experts in one area that know very little about others. There's simply too many things that are programmed in too many ways for anyone to know it all anymore. Hell, that was the case in the 70's and 80's too.

load more comments (3 replies)
[–] [email protected] 2 points 15 hours ago

Oh no, I was never a programmer in the past.

[–] [email protected] 3 points 18 hours ago (2 children)

I still want to get into coding the OG manual way (because I enjoy pain and disappointment apparently) but now it seems like a waste of time since vibe coders and 13 year olds already are lightyears ahead of me. Also I have no reason to learn it, all apps are already built xD

[–] [email protected] 3 points 14 hours ago (1 children)

all apps are already built

Couldn't be further from the truth. You also have to consider competition.

[–] [email protected] 1 points 13 hours ago* (last edited 13 hours ago)

Can't think of anything that could serve a major need right now, but I absolutely identified things in my life where I could use a preexisting tool to accomplish my goal, but it's much less hassle for me to use the one I made for myself. You don't have to transform the world, sometimes you can help yourself with a minor inconvenience and then put it out there for anyone who might find themselves with the same inconvenience.

[–] [email protected] 3 points 17 hours ago (1 children)

I'm in the same boat. I used to be an amateur front and back end web developer. Almost made a text based RPG in middle school. I had to stop when shit got crazy in high school and college, but I don't feel like any programming is worth my time right now. I'm focusing on gardening and maybe some cooking. You know, human activities that we can still enjoy.

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

I have never Googled "how to center div 2025" because the last time I had to center a div was in 2024. I've never asked ChatGPT to fix a syntax error because I use Copilot. Exiting Vim is basically the only thing I know how to do in Vim, but I can do it. And my bug fixin' is generally one-for-one.

On the flip side, I can write some code without StackOverflow and AI. Writing a game in Assembly, these days, is for a specific kind of hobbyist or absolute fools. Languages using pointers are mostly for specific types of application and completely irrelevant for most programmers these days -- and the overwhelming bulk of us are better for it. And writing code by hand is an incredible talent and skill, but again, essentially useless these days.

[–] [email protected] 0 points 2 hours ago* (last edited 2 hours ago)

I've never asked ChatGPT to fix a syntax error because I use Copilot

If you are going to be this pedantic, I'll have you know Copilot is a ChatGPT model in a Microsoft skin.

load more comments
view more: next ›