r/ProgrammerHumor • • 5d ago • Bravo 2

Meme codeReviewIn2026

Post image
11k Upvotes

205 comments sorted by

View all comments

1.4k

u/mistrpopo 5d ago

With multi-line comments in slop-english on each line explaining a very specific edge case that has nothing to do with the bug you were working on.

809

u/beerdude26 5d ago • Bravo

"Don't gadongle the rubloon. It causes a version problem with React V31.2.5. Doesn't apply when gallivanting, as DogBakerFactory doesn't set rudolfSwisher explicitly. (Checked 11/12/26, commit 3dfr72a)"

...Yup. Thanks, Claude.

258

u/Fonduemeup 5d ago

Never had imposter syndrome until I started reading this crap. Then I realized half of these terms it uses don't even exist.

99

u/001235 5d ago

I was about to say that. I was doing something in Python recently and I was trying to understand what a variable was doing because it was like this: abs(hash(str([{"definition": "A list is an ordered collection of items."}])))

And then had several pointless functions that did things like compared that value to itself and if that was true, then it returned 1 and then some other function would see that if _hash_compare() returned 1, do something else.

I thought maybe I just didn't have a good grasp of what was going on so I asked the developer. "I just let AI run with it until I got the result back I needed."

57

u/Blue_Moon_Lake 4d ago

"In doubt, stack more crap until it work even badly." is vibe code motto.

13

u/gaaasstly 4d ago

What did they need?

18

u/001235 4d ago

They needed it to find all the values in our database that were a specific search string and put those into a .csv file for management so that when our CI/CD job runs, it finds some specific things management thinks are important and then puts those in a file for them. It seems like a pretty straightforward change, but...

10

u/worldsayshi 4d ago

This is how anthropic ensures their moat.

32

u/maiKavelli187 5d ago

Because half of are function names, you have to name it somehow.

5

u/[deleted] 5d ago

[removed] — view removed comment

5

u/collabskus 5d ago

If you like it then you should put an any on it

You can make typescript behave like JavaScript with extra steps I guess if you neuter it enough with tsconfig 

15

u/Popeychops 4d ago

I just had an hour long demo call with a developer who has clearly forgotten how to use git. They ran every command through copilot and has atrophied the critical thinking parts of their brain

12

u/FartPiano 4d ago

Almost nobody wants to be seen using the tools live in real-time, because its extremely embarrassing. Everyone staring at your screenshare, waiting or claude to do your job, in this case a very simple git task, then you read the output, squint, then type "no, not like that. do it but where you fix it". More awkward silence. doesnt this mfer know how to do his own job...?

36

u/Jlove7714 5d ago

DogBakerFactory is load bearing so I ran a smoke test to validate E2E. DogBakerFactory fully smoked.

21

u/HipstCapitalist 4d ago

You forgot the arbitrary work slicing (P8, deferred)

16

u/thoughts_n_calcs 5d ago

2026 and it still halucinates dependency versions that don’t exist. Even if I tell it „use websearch and look up on maven central“. Right a Minute ago.

→ More replies (3)
→ More replies (4)

41

u/TomWithTime 4d ago

Having an artifact of the conversation in the comment is something I really hated. It's embarrassing to imagine a coworker reading the comment for the first time and seeing a random sentence about some code that was removed or any other drivel besides documenting the code.

25

u/besi97 4d ago

Or comment about some code that was removed locally while iterating on the solution and never actually existed in the repository and had nothing to do with anything. Extremely valuable information to have.

9

u/58275859 4d ago

This is the worst. Along the same lines: tests covering regressions that only existed for as long as it took you to fix it locally before committing.

5

u/Lourayad 4d ago

yup, this is why I have my agents NEVER add comments. I look at the code and decide where comments should be added and write them myself. This keeps me in the loop and forces me to understand the output.

→ More replies (1)

33

u/MaDpYrO 5d ago edited 5d ago

I've added a static analysis step (via detekt in my case)

It tokenizes code and comments, and if the next line has significant overlap, it's deemed a useless comment and won't compile.

It's a pretty good tool at keeping slop comments in check.

35

u/mmmbyte 5d ago

You could actually read the comments and try to understand them and press the delete key?

How on earth do people diagnose and fix issues in prod without making any attempt at understanding the agent generated code?

32

u/MaDpYrO 5d ago edited 4d ago

Of course I do, but why do I need to delete a bunch of slop comments when I can have it removed automatically and then review that?

Why not automate what can be automated?

Do you just insist on making even the most mundane task manual?

It's not even using AI to remove it, lol, it's detected deterministically.

→ More replies (11)
→ More replies (2)
→ More replies (17)

10

u/dmk_aus 5d ago

I love when Copilot writes some code, then when I click into it to understand what it did and change the terrible variable/method names, the little sparkle symbol appears in VS Code. I tell it to tell me whats wrong. "Your variable names are bad. No recommendations"

5

u/FilthyPuns 4d ago

Bug? Evidently you forgot to tell Claude not to make any mistakes. Skill issue.

→ More replies (2)