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

Programmer Humor

23119 readers
2073 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] 1 points 1 hour ago

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

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

War horses and elephants entered the chat

[–] [email protected] 5 points 3 hours ago* (last edited 2 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] 7 points 4 hours ago

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

[–] lobut 10 points 5 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] 4 points 5 hours ago (1 children)

First learning is last learning.

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

[–] [email protected] 3 points 4 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 3 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 3 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] 1 points 3 hours ago

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

[–] [email protected] 3 points 6 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 3 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 1 hour ago* (last edited 1 hour 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 6 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.

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

Yeahh exactly. AI has pretty much ruined computer based fun now. Which in some ways is good, we should all learn physical hobbies again and not be reliant on tech. I still enjoy my hobby desktop computers though, I just enjoy learning how it really works under the surface.

[–] [email protected] 8 points 8 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] 42 points 15 hours ago (14 children)

Okay but how do u center a div in 2025

[–] [email protected] 1 points 39 minutes ago

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

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

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

[–] [email protected] 3 points 4 hours ago* (last edited 4 hours ago)

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

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

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

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

[–] [email protected] 16 points 13 hours ago (13 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] 3 points 7 hours ago

w-... mx-auto, replace the 3 dots with your desired width value, and that's it with tailwind

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