this post was submitted on 11 Sep 2026
981 points (98.6% liked)

Programmer Humor

33359 readers
458 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 3 years ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] Aurenkin@sh.itjust.works 119 points 2 weeks ago (1 children)

Don't worry half of those will be useless code comments

[–] kubica@fedia.io 131 points 2 weeks ago (2 children)

// Here I'm not using that other thing that is now completely irrelevant, but I'll leave a comment to the non-existing thing anyway because I'm avoiding it.

[–] FishFace@piefed.social 19 points 2 weeks ago (1 children)

REEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE

[–] _stranger_@lemmy.world 26 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

The comment:

# This code does exactly what you asked: Never change state, only fetch the state and return the difference

the code: hallucinated database table drops

load more comments (1 replies)
load more comments (1 replies)
[–] OwOarchist@pawb.social 103 points 2 weeks ago

Repeat after me: "Rejected. Reason: too large of a change for one PR."

[–] Solemarc@lemmy.world 99 points 2 weeks ago (9 children)

I struggle to review a 1k line change. When people give me such big changes I normally don't believe they've reviewed them either.

[–] roofuskit@lemmy.world 69 points 2 weeks ago (1 children)

That's because they haven't.

[–] marlowe221@lemmy.world 22 points 2 weeks ago

Mystery solved!

[–] Jesus_666@lemmy.world 20 points 2 weeks ago (2 children)

Try working on a codebase that's all event-driven hexagonal CQRS with hand-crafted SQL for persistence. Add additional buzzwordy methodologies to taste.

Adding a single property to your product means you now have to update an aggregate class, several DTOs, and several event classes and handlers before you can even think about touching the UI.

And that's in your main solution. There's also at least one facade service you'll need to make compatible and you also need to update the event simulator used for testing. The latter night involve having to touch every single line in a 2000 lines long SQL script.

Having to go though three separate 600-2000 LOC PRs for one PBI isn't that exotic.

[–] bjc@scribe.disroot.org 11 points 2 weeks ago (1 children)

forgive them lord, for they know not what they do

load more comments (1 replies)
load more comments (1 replies)
load more comments (7 replies)
[–] SubArcticTundra@lemmy.ml 89 points 2 weeks ago (18 children)

The problem with Claude is that it doesn't write code to be modular & reusable. Every tiny change requires a complete rewrite.

[–] veryblandusername@fedinsfw.app 69 points 2 weeks ago (3 children)

I've completely banned any code that can't be explained. I've had my CTO send me code at 3 AM to implement and when I ask him what I'm looking at he just says it doesn't need review, just push it.

Uhh, no sir, I'm not doing shit because you've handed me GCC and we're MSVC.

After I bitched endlessly to the CEO about that he said I have final say on what goes into the project.

[–] noxypaws@pawb.social 28 points 2 weeks ago (1 children)

I've had my CTO send me code at 3 AM

I hope you don't even respond until your next normal working hours!

[–] veryblandusername@fedinsfw.app 16 points 2 weeks ago (6 children)

I love my job, even when I have to deal with nonsense like that and I'm compensated very well to be on call 24/7.

[–] NocturnalMorning@lemmy.world 11 points 2 weeks ago

No amount of money would make me put my health at risk like that. Been there at a job before where I was always working. No thanks.

load more comments (5 replies)
[–] boonhet@lemmy.zip 11 points 2 weeks ago

we're msvc

Then switch to a real compiler on a real operating system, duh

load more comments (1 replies)
load more comments (17 replies)
[–] bdonvr@thelemmy.club 60 points 2 weeks ago (2 children)

No

You ask your LLM of choice to look it over, completing the shit-cycle

[–] Supercrunchy@programming.dev 19 points 2 weeks ago (7 children)

I fully expect this to become the new normal being pushed by management.

"We identified PR reviews to be blocking our newfound AI-powered efficiency, so we are now mandating all the reviews to done by AI. Also we figured all the developers are now useless since all you do is ask Claude to solve tickets, so you are all fired"

I wonder how long it takes for the first high profile disaster happening because of a policy like that.

load more comments (7 replies)
load more comments (1 replies)
[–] skisnow@lemmy.ca 45 points 2 weeks ago (4 children)

We've had a very recent uptick in engineers submitting PRs of hundreds of lines across multiple files, for Jira tickets that only asked for a one-line change. The engineers involved have been using AI assistants for nearly two years now, but there seems to have been a change in the last month or so in how aggressive the new models are at changing code.

[–] Blackmist@feddit.uk 61 points 2 weeks ago (1 children)

Almost as if they're paid by the token...

load more comments (1 replies)
load more comments (3 replies)
[–] rounding_error@lemmy.today 42 points 2 weeks ago (2 children)
[–] Mac@mander.xyz 39 points 2 weeks ago

Let's Go Topple the Monarchy!

[–] floquant@lemmy.dbzer0.com 32 points 2 weeks ago (1 children)

Let's Gamble, Try Merging is my favourite

load more comments (1 replies)
[–] laurelraven@lemmy.blahaj.zone 40 points 2 weeks ago (1 children)

That's an automatic reject from me, that's not a patch, it's an overhaul

load more comments (1 replies)
[–] AdamBomb@lemmy.world 37 points 2 weeks ago

🛑 Changes requested

Too big. Break into smaller individual PRs.

[–] Daywim@lemmy.world 32 points 2 weeks ago (1 children)

Merge that shit, watch it all collapse, enjoy your forever holiday

[–] einkorn@feddit.org 14 points 2 weeks ago (2 children)

"So, Daywim. Why did you let this obviously aweful PR pass your desk causing so much trouble for our company? I'm afraid we have to let you go because of this questionable performance." - Corporate

[–] EffortlessEffluvium@lemmy.zip 28 points 2 weeks ago (1 children)

What part of forever holiday did you miss?

[–] einkorn@feddit.org 12 points 2 weeks ago (1 children)

I interpreted it as "Holiday that lasts forever because the company can't work anymore" but I guess it is meant to mean "Holiday that lasts forever cause you got fired"?

load more comments (1 replies)
[–] ATPA9@feddit.org 10 points 2 weeks ago (2 children)

"Looks like I overlooked something in this 6k PR full of im meaningless dribble. Why don't you ask the person who comitted the code how he overlooked this bug. Its his respinsibility"

Just throw the the slop creator under the bus.

[–] rethnor@lemmy.zip 10 points 2 weeks ago

Throw them under the bus by rejecting their PR. Integrity is your responsibility, the gesture is theirs. They'll get shit for not getting their stuff done.

[–] notabot@piefed.social 9 points 2 weeks ago (5 children)

If you're the reviewer you share responsibility if there's an issue with the PR. Hopefully your teams culture is such that issues like that are treated as a learning experience, rather than a reason to pile on the individuals involved.

load more comments (5 replies)
[–] yessikg@fedia.io 32 points 2 weeks ago (1 children)

If you can't be bothered to write your own code, I can't be bothered to review

load more comments (1 replies)
[–] floquant@lemmy.dbzer0.com 30 points 2 weeks ago

It is not even peer review anymore, unless we are pretending that claude is our peer.

[–] flb@reddthat.com 30 points 2 weeks ago (4 children)

Our PR checks auto reject the PR if it has 1k changes

[–] Pika@sh.itjust.works 13 points 2 weeks ago* (last edited 2 weeks ago) (4 children)

is it auto reject, or just doesn't auto approve and leaves it open for manual review

It seems weird that you can't do a pr at all with 1000 line changes, any moderate size feature addition could hit that mark

load more comments (4 replies)
load more comments (3 replies)
[–] EowynCarter@lemmy.world 25 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

Yep.

We have one PR still blocked. Last change is a simple comment from me “Why ?”

[–] grrgyle@slrpnk.net 12 points 2 weeks ago

The most important question that every change must answer.

[–] dylanTheDeveloper@lemmy.world 15 points 2 weeks ago

No Mr Bond, i expect you to approve

[–] CookieOfFortune@lemmy.world 13 points 2 weeks ago* (last edited 2 weeks ago) (2 children)

If LLM can make big PR, LLM can split PRs

[–] ZILtoid1991@lemmy.world 13 points 2 weeks ago

The goal of AI providers is to make humans unable to maintain code, so you have to rely on their expensive subscriptions and tokens.

load more comments (1 replies)
[–] einkorn@feddit.org 11 points 2 weeks ago

And people were already annoyed when I had ~90 changes due to refactoring and fixing imports ...

[–] Psythik@lemmy.world 10 points 2 weeks ago (2 children)

This is a joke I'm not college educated enough to understand.

[–] khannie@lemmy.world 23 points 2 weeks ago

It's basically saying "insert one ass loads of code in one go, all written by AI".

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