logoalt Hacker News

natsucks • today at 5:38 PM • 4 replies • view on HN

What I am experiencing right now is an incentive towards vibefull whether I want it or not. Leadership wants deliverables ASAP. I don't know how to reconcile this with the importance of being able to vouche for / understand the code. Delivering doesn't necessarily require understanding all the time.


Replies

bob1029 • today at 5:57 PM

The question moves from "Is this correct?" to "Am I willing to own the potential consequences of this?". In many cases these are the same picture, but there are enough cases where this is not true that it's worth consideration.

I was struggling with AI code reviews until I realized that all the unit tests it wrote won't actually break production. It doesn't matter if half of them are tautological bullshit. In principle these tests might be really awful, but are they risky? From a practical strategic perspective, they add maybe 3 seconds to the CI/CD pipeline on a bad day. Some of them are definitely providing coverage. If I had to manually review every line we'd have not even 1% the number of tests we do right now.

Is what the robot did actually risky or is it simply a violation of your personal preferences? Put differently, will the customer care? If we start doing code review from the angle of "does the customer give a shit about this", we can probably cut the amount of BS by a factor of 100x.

➕ show 2 replies
freecrow • today at 5:51 PM

[flagged]

cobwebcheck • today at 7:03 PM

One way to reconcile it is to make understanding part of the review rather than the writing. If you can't explain a change well enough to write its PR description and tests, it isn't done, however it was produced. That gives you a concrete line leadership can see, instead of an abstract argument about AI use. It also helps to keep the vibefull work to code that's easy to throw away, and keep tighter control over data models, auth and billing paths, where mistakes are expensive.

➕ show 1 reply
singpolyma3 • today at 8:09 PM

I think there's always been room for delivering lower quality or less well understood solutions in a professional context. I would never put vibefull code into production for myself, but for an evil corp I sell my labour to? Why not.