by iLoveOncall · 1y ago · 0 comments
Just yesterday I was reading the comment of a Principal Engineer saying "of course vibe coding carries a huge risk for more junior engineers that don't understand when the LLM does something that looks right but is actually wrong", as if just because they have more experience THEY CAN.
No, you can't either. Not a single soul on this planet can review the thousands of lines of vibe coded bullshit that LLMs spit out.
Here's my guide to Gen AI / LLM Vibecoding for Expert Programmers: don't.
Reviewing thousands of lines at a time is always a failure state.
Vibe coding is letting AI write code so you spend less time writing the same amount of code (ideally not more, in practice definitely more).
If more code is written you have to review more code. Doesn't matter if you break it down in 10 lines PRs or if you review a million lines at once, you still end up having to review all the code generated.
It also means that sometimes, you say "this is bad code," refine the prompt, and run it again.
Yes, it means that you as a code reviewer is a bottleneck. It means that you are limited to the productivity gain that can exist. We are talking 10-15% productivity gains per person in mature code bases, not some magic replacement.
But if you're worried about reviewing code, maybe we shouldn't allow junior programmers to contribute to codebases either. After all, you might make a mistake in reviewing that.
In my world, though, we use the refactoring tools such as feature flags and incremental improvements. We can use stacked pull requests. It requires training and discipline but it's absolutely doable for 99% of tasks.
This does have the caveat that reading code is usually harder than writing it, so the total time savings is far less than what AI companies claim. You only get in real danger when you don't review the code and just YOLO it into production.
I don't follow. Why wouldn't you believe that a senior engineer, that has been reviewing code for years, be any better at reviewing code?
I know exactly when it’s going sideways. You’d have to know to even know, it’s one of those things. If you don’t know then you don’t know.
Put it another way, you know how some people fail open book tests? How’s that possible? The book is not enough.
JavaScript isn't my primary language and date functions are always a pain. But I know enough to review and test the code quickly. It doesn't change a 1-week project into a 4-hour one, but it can change a 20-minute project into a 5-minute one.
I suppose for your actual job (if you happen to be in the IDGAF mode), yeah, why work harder and not smarter? That’s a different story altogether, as many will be mailing it in.
For a dev worth paying for, the crucial details of some code is discussed prior to the PR in a way that the PR review becomes an afterthought. You can follow this process with an LLM but the PR review is still brutal. It doesn’t do what you say and it doesn’t learn (in a deterministic way a good human dev does).
High performing teams do not have many changes nor comments in a PR (on average, obviously).
You also seem to be missing the point that if vibe coding lets your engineers write 10x the amount of code they previously could in the same working hours, you now have to review 10x that amount.
It's easy to see how there is an instant bottleneck here...
Or maybe you're saying that the same amount of code is written when vibe-coding than when writing by hand, and if that's the case then obviously there's absolutely no reason to vibe-code.
Even if you could the code can't be copyrighted.
If that is true, how come huge companies like Microsoft and Salesforce and Google keep boasting about the increasing percentage of their code that is written by LLMs?
What do you know that they don't?
I can't speak for every country but Copyright laws in the US, EU and UK require a human creator to be valid for copyright.
A casual search brought up this:
- https://www.skadden.com/insights/publications/2025/03/appell...
- https://www.openpolicy.co/resources/u-s-copyright-office-cla...
- https://www.jonesday.com/en/insights/2025/02/copyrightabilit...
To add to that you can't patent anything created by an AI either.
> What do you know that they don't?
Oh they are well aware of this.
At enterprise level coding, everything normally needs a programmers certificate of origin as it were. So AI generated code is tagged within the source.
A good example of this (pre-gpt) was SCO vs IBM. Where SCO claimed IBM stole their code. IBM could prove the full history of code they created because of these procedures.
So.. if a person vibe codes a whole application and it gets stolen/copied, legally they have no way to protect that.
[edit] Reading further for UK when it comes to computer generated the law is a bit vague when it comes to vibe coding. There are laws to protect digital works. [edit]
I imagine the big tech company's lawyers have decided that the way most professional software engineers use LLMs to help them write code counts as "demonstrably shapes the final output in an original, creative, and expressive way".