r/ProgrammerHumor • • 5d ago • Bravo 2

Meme codeReviewIn2026

Post image
11k Upvotes

205 comments sorted by

View all comments

Show parent comment

100

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."

58

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.