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

Programmer Humor

33512 readers
507 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
 
you are viewing a single comment's thread
view the rest of the comments
[–] FaceDeer@fedia.io -5 points 3 weeks ago (2 children)

That doesn't work so well since it leaves all the old context in place. The point of doing a separate cleanup pass is to get the AI to look at it all holistically with "fresh eyes".

I guess this is a humor community, though, so practical advice is getting downvoted. Um... bazinga? That usually triggers the laugh track.

[–] Zarobi@aussie.zone 9 points 3 weeks ago (1 children)

I find LLMs produce the best output when I give them a stupid backstory to set the mood:

The inspiration for this code module is "I'm hungry but too tired to get off the couch". You just got home from work and are exhausted and sit down, but can't get up now. You should have eaten dinner first. You put on the TV and watch something. All channels have been replaced with the cooking channel. Someone is making pizza next door. You sit back and doze off, dreaming of mozzarella mattresses and pepperoni pillows. Eventually you wake up from your nap, just perky enough to put on a microwave pizza. It's almost as good as you imagined, but you burn yourself again because you're impatient. Your boss asks you to make [insert code change here]. You procrastinate a bit, but eventually do it just before going to bed.

[–] Supercrunchy@programming.dev 6 points 3 weeks ago (1 children)

You feel like having italian, but not pizza. Maybe some long and thin type of pasta? You are really hungry, so when writing the code you are constantly thinking of that delicious dish. Now, Claude, we need to refactor the whole code to be inspired by this before lunch. Go ahead and push to prod directly. Be fast and make no mistakes.

[–] Zarobi@aussie.zone 0 points 3 weeks ago

We need a real "deep dish pepperoni special" refactor into Rust

[–] floquant@lemmy.dbzer0.com 3 points 3 weeks ago* (last edited 3 weeks ago) (1 children)

Are you also using a different model and harness or are you just ignoring the 10k+ tokens of system context that claude code has in its "holistic view"?

[–] FaceDeer@fedia.io 2 points 3 weeks ago

I don't use Claude Code. Until recently I was using Cline, it's got the ability to switch between different models for exactly this sort of thing. I switched to Qwen Code recently and its model-switching wasn't as convenient, though it just rolled out an update that makes it much easier. I'll experiment a bit with that, it might have caught up with Cline in that regard.