this post was submitted on 17 Jan 2026
361 points (98.9% liked)

Programmer Humor

28580 readers
1473 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 18 comments
sorted by: hot top controversial new old
[–] jjjalljs@ttrpg.network 24 points 3 days ago (3 children)

There's a lot of fear at my job about changing code. I've been trying to tell them to start writing automated tests. Or at least a linter to check for syntax errors. They're all like "ooh that sounds hard maybe next quarter"

Meanwhile, a trivial change requires a whole day because the developer has to manually test everything.

I just unilaterally added checks to code I have ownership over, but anything shared I'm getting "maybe in two quarters we can prioritize this" from management.

[–] squaresinger@lemmy.world 8 points 2 days ago (1 children)

At my job:

We do have a linter and tons of automatic tests. Changes are generally quite safe, not a lot of manual tests are necessary.

Meanwhile, a trivial change requires a whole day because the developer has to adjust dozens of tests and get them through a pipeline that takes hours to run.

[–] jjjalljs@ttrpg.network 1 points 2 days ago

Oof. I've had places that the pipeline was getting long. At one of my previous jobs I made it so all the tests could run locally, and we were keeping the full build as slow as possible.

We also didn't do any browser tests (eg: selenium) because those tend to be slow and most people are bad at making them stable.

It's important to know whats worth testing.

[–] emergencybird@lemmy.world 2 points 2 days ago

I haven't been in the field for too long but my very first job had extensive ci/cd pipelines setup. At first I was kind of annoyed by having to write tests and having my code auto refused by lint checks. Now that I experienced a job that didn't have any automated testing, I realized how much I love TDD. Nearly all my personal projects have ci with at the very least lint checks.

[–] F04118F@feddit.nl 2 points 2 days ago (1 children)
[–] jjjalljs@ttrpg.network 1 points 2 days ago

That's the plan. Unfortunately the market is kind of meh. Lots of AI slop. Lots of getting ghosted.

[–] MadMadBunny@lemmy.ca 26 points 3 days ago

"Trying to move an image one pixel down in Word"

[–] rtxn@lemmy.world 21 points 3 days ago (1 children)

"It's just one goto, what's the worst that could happen?"

[–] stupidcasey@lemmy.world 3 points 2 days ago

Dang it i changed

import(math)

To

import(MC.Escher)

Again

[–] sp3ctr4l@lemmy.dbzer0.com 2 points 2 days ago* (last edited 2 days ago)

"OP discovers quaternions."

How do you solve gimbal lock?

3Vector Math / Matrix Algebra?

Nonsense rotational transforms?

You do nonsense harder.

Imaginary 4th Dimension, harder.

Shut up, don't think about it, yes it will work if you don't think about it.

... I guess that makes it like, the opposite of Orc Wauuugh or whatever?

[–] bleistift2@sopuli.xyz 13 points 3 days ago

Reminds me of the time my whole website started spinning because I forgot to close a tag.

[–] fckreddit@lemmy.ml 11 points 3 days ago (1 children)

Damnit Escher. Not in my code too.

[–] funkless_eck@sh.itjust.works 8 points 3 days ago

I commented out a line in the game I'm building and the enemy could suddenly control my character. Cool cool cool cool cool

[–] entwine@programming.dev 8 points 3 days ago
[–] Speiser0@feddit.org 7 points 3 days ago

If AIs were able to handle this safely, I'd consider using them.

[–] snek_boi@lemmy.ml 4 points 3 days ago

This totally happens in code where functions have plenty of side effects. And thats why functional programming can lead to fearless refactoring!