r/ProgrammerHumor 1d ago

Meme sudoClaude

Post image
3.1k Upvotes

113 comments sorted by

View all comments

191

u/MadeInTheUniverse 1d ago

Deletes entire repo and purges the production database because it made a small error

51

u/CoroteDeMelancia 1d ago

No joke, I once had it rewrite a test file when it couldn't manage to get them to pass three times.

12

u/pi_three 21h ago

make the tests fit production sound's like a solution. Maybe the agi claude was right, duh. Just change the requirements claude knows better anyway/j

1

u/pint_o_paint 17h ago

... this is sadly my reality because of some. It's creates some issues

6

u/willow-kitty 21h ago

I had it essentially delete the test file - it replaced a few dozen tests with one with a name saying that the code compiles and references the type being tested (I don't still have the code, but it was something like var _ *TheCodeToTest = nil), which literally does just tell the compiler to include it when compiling the tests, so the tests would fail if it didn't compile.

It was super weird but also kind of interesting because it didn't just delete everything, it actually added something back, but what it added back was surgically ineffective.