1367
you are viewing a single comment's thread
view the rest of the comments
[-] aeronmelon@lemmy.world 29 points 1 day ago

Electrical engineer: “what was that other guy thinking?”

Software engineer: “What was I thinking?” (It’s code from last night)

[-] rumba@lemmy.zip 11 points 1 day ago

We went out for drinks one night after work. Upon stumbling back to the office, I remembered I had forgotten that I signed up to make a tool page to mange some data ingest. It was due first AM. I was three sheets to the wind. Fired up LAMP stack, took the samples and made an ingest function. Wired up a textbox, tested it and went home.

Next AM, I turned it in, there was a minor bug. No problem, I'll just find the issue and they'll be good to go.

cracked the scripts open...

I could read it. I could see what a lot of it did. I could NOT figure out what some of it was there for. I spent 30m trying to figure out what I was doing. it was only a couple hundred lines. It wasn't even a copy/paste job. Eventually I ran out of time and just leaned into phpdump, and breakpoints to find the exact error. One function hit a bonefied php bug that caused the debug to go silent. large swaths of the code were unreachable due to essentially a couple of typos. The only reason it worked as well as it did was because their sample data was as simple as imaginable. I put on some Nine Inch Nails and just remade it in about 30 minutes (10m before it was absolutely needed)

[-] CookieOfFortune@lemmy.world 8 points 23 hours ago

I’ve learned that my buzzed self has less inhibitions when writing code. But those inhibitions are there for a reason.

[-] zqwzzle@lemmy.ca 4 points 1 day ago

What was I thinking?-after every interruption that could have been an email

[-] A_Union_of_Kobolds@lemmy.world 2 points 1 day ago

Electrician: "what was the engineer thinking?"

this post was submitted on 20 May 2026
1367 points (99.9% liked)

Programmer Humor

31514 readers
1903 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