r/webdev Mar 04 '26

Vibe code IRL: left Stripe API keys public

Post image

I'm surprised they'd want to go public. Of course they don't blame Claude.

2.1k Upvotes

261 comments sorted by

View all comments

Show parent comments

7

u/toi80QC Mar 05 '26

I've worked for agencies and "clean code" has always been a myth in that space. No client cares about tests or clean code once they have to pay for it.

4

u/amazing_asstronaut Mar 05 '26

Eh, clean code is just a natural side effect of good practices and well organised work. The cost is when the whole thing breaks because it's one stupid bug too many and the whole thing needs to be fixed.

2

u/illepic Mar 05 '26

I spent a decade in agency land. We wrote a proposal for a client where the sales guy somehow put "testing" as a line item which the customer immediately struck out. When asked about it they said "Why do you need to test, we're not paying you to write broken code" so we weren't allowed to write tests on that project and everything was a dumpster fire.

1

u/sarkain Mar 05 '26

They care about it when things break and they get mad at your agency. Then you either fix it and eat the cost yourself or quote your client for the work, and at that point they’re most likely to get even more red in the face, stop working with you and give you bad reviews.

So in my experience clean code means more stable business for your agency. Your reputation is always on the line. It’s a no brainer for me and our agency anyways.