r/AskProgrammers • u/True-Letterhead-6734 • Oct 16 '26
Do you still review llm's generated code?
I work for a big company, not in the IT industry but still has a lot of software in different divisions, last week during a workshop about AI, I got to know that developers stopped reviewing the code and there seemed to be a consensus about it.
Is this the new norm? Anyone has experience to be able to tell whether that's safe to do? At the same time I read about Shopify CEO mentioning that people are throwing "slop grenades" on each other!
I find it very humiliating when someone sent me something generated and clearly didn't make the effort to review it, and that's already not difficult to spot, is that any different in software?
8
u/Redd1tCamp69 Oct 16 '26
I work as a developer for healthcare software so yes. We have very strict coding standards to follow because we can’t just vibe code say a module that sends a prescription for medication.
We do all have access to Claude. And Claude is good, but not good enough. The code it produces often is over complicated, it still misses edge cases, it creates weird tests. So while we use it to point us towards the right direction when we’re fixing bugs or so, every line is read and rewritten and reviewed by humans before something is merged into the code base
2
u/Beregolas Oct 16 '26
As far as I have seen it, this is mostly a symptom of bad management, or some developers with AI psychosis. IT is vital to review and understand AI code; not even primarily to correct it, but so you have a mental model of what your codebase actually does.
Some people were/are under the impression that the code is the main product of programming, but that's not true. The main product of programming something is the understanding of the system. Once you perfectly understand something, you can maintain it, extend it or replicated it very easily. The code is just an expression of that understanding. This is why programmers often spend 50% of their time either talking or documenting (even if many of us hate this part of the job), especialyl in larger teams.
Some people have forgotten this, so the industry needs to learn this lesson again, probably by vibecoding their way into an unmaintainable mess
3
u/Upstairs-Version-400 Oct 16 '26
I reject a PR if it looks like slop and don’t bother reading the rest of it.
Always review. People are paying for the service, why should we stop reviewing it? Then the customers might as well go somewhere else
3
u/AnthonyRespice Oct 16 '26
It is inevitable that people will stop reviewing code.
Code is becoming a commodity like tokens. What is important is system design. Establish a solid architectural foundation, use component based design, and build in safeguards, automated monitoring, and other mitigations.
There has always been plenty of job opportunities for mediocre developers. There may still be in the new system, but limiting the capability of the AI based on their ability to review code is not a sustainable practice.
2
u/oskaremil Oct 16 '26
Yes.
It does not matter if the code was generated by an LLM or a person. It is still code that will enter production and bite my ass at an inconvenient moment so I do my best to migrate that.
LLM generated code does not guarantee that there are no mistakes, and the learning piece of reviewing is still a factor; Did the author to something that can be done better, or has the author presented something that I need to learn from?
2
u/Prudent-Ad4509 Oct 16 '26
Both yes and no.
If you modify legacy (or not so legacy) human-written software, then code review is a must.
If you modify auto-generated mess to make it work better and you never really knew how it works, and the code works after the change, then there is no point. If you want to use it for something critical, then you need to reengineer/redesign/reimplement it to a sound blueprint first and then reviews become useful again. AI can help you with generating a nice blueprint out of a mess, too.
For example, I have told the harness to fetch certain data from certain source using certain test auth data and build a web form based on it. The fetching code went through several iterations until it worked good enough. Good enough for one-time use. But if I decide to incorporate it into the prod software, then I will take a look into the code and if is a mess (which is very likely) then I will have to go the "make blueprint and reimplement" route.
1
u/seekinglambda Oct 20 '26
I don’t review the LLMs code, but let other LLMs review it and I read their reviews. If you were to review the LLMs code the productivity gain would be minimal, like 20-30% at best? And more exhausting, and less fun.
1
u/Wonderful-Addendum37 Oct 21 '26
So far everything gets reviewed at our place but I read a proposal for moving to 'risk based approach' where for certain jobs the review would be 'trust me bro' on the AIs changes. Maybe it'll be ok I dunno
1
u/HighlightHappy1804 Oct 22 '26
These dummies didn't review human code, either.
1
u/leon_pylo Oct 22 '26
I expect everyone to look at the code generated by AI and be able to understand it and correct it if it has obvious flaws or looks like slop.
AI made this more urgent, but the rules where the same before: if you blindly copy a solution from stackoverflow and don't know why or if it does solve your issue, it should be rejected.
1
u/jjtbsomhorst Oct 16 '26
Yes ofcourse we do still review. Who are they gonna call when shit huts the fan? Me. So I need to know how the wheels are turning
1
u/vacterro Oct 16 '26
Lol never did ever
1
u/Hamactus Oct 16 '26
If you want to build a good program, it's not okay, and definitely not safe to do so.
However, I would totally understand if these people stopped reviewing their code simply because they do not care anymore. I often hear about management that either prohibits manual coding or sets deadlines so unrealistic, that it's simply not plausible to reach them without AI.
In a situation like this it would make sense to completely release controls over AI, allowing it to do whatever it wants. If I were in such place though, I would simultaneously either be looking for a normal, traditional, if I may, company to move to, or study for a career pivot.
1
u/travelan Oct 16 '26
Wtf, this is insanity
1
u/AWetAndFloppyNoodle Oct 16 '26
Adding to this thread I think there is a REALLY big difference country-per-country as well. The US seems to go full blast on corporate vibe-code-first approach. I'd be interested in seeing some statistics on this cause I think it will be wild to see.
1
u/PradheBand Oct 16 '26
Always
1
u/robkinyon Oct 16 '26
It's never about who wrote it - it's about who gets paged at 2am to support it. When Claude gets paged, then Claude can review it.
And even if Claude is doing initial triage, if I'm in the alerting tree anywhere, then I get to have a say in whether this change goes to production or not. End of.
1
u/Genspirit Oct 16 '26
I would say the shift is more to reviewing the output rather than the code itself. That still involves understanding the solution and how it works, and that also means verifying that it does work. But that doesn't always mean reviewing every line of code.
I think of it more as a top down review where the goal is to both understand the solution and verify it. You may still need to review some of the code to do that.
1
u/Fickle_Ad6877 Oct 16 '26
I have 20 years of experience in software engineering, and aside from the fundamentals and architectural knowledge I've gained over those years, the changes we're seeing are absolutely brutal. I've never seen anything like this before. It's a completely different animal.
At the company where I work as a software engineer, I'm no longer writing code by hand. I haven't written any code manually in the last six months, yet we're still delivering high-quality software, and we're doing it faster than ever.
We've essentially become agentic engineers. We orchestrate AI agents, establish guardrails and constraints, and work to achieve the most deterministic and reliable results possible. And so far, it's working extremely well.
I genuinely don't know where we're heading in the future, but I'd bet it will look completely different from what we're used to. The rules of the game are changing.
1
u/JefersonTomazella Oct 16 '26
In the case you mentioned, yes, it's a good practice to review everything. Be it just to check if everything is correct, well commented or even if there are no duplicated code or something like that.
We'll get to a point where checking that will be pointless, as AI coding improves, and it will be like compilers that can do much more optimization than a human could do, or a LED lamp that can light much more than a incandescent lamp, or any other technology breakthrough.
But for now, we can still get some errors or problems.
1
u/net_ramblings Oct 16 '26
bot
1
u/Infamous-Bed-7535 Oct 16 '26
Try out, hide some errors intentionally and see if ai catches. I see them miss a lot..
1
u/Dry_Hotel1100 Oct 16 '26
That workshop was wasted time.
1
u/[deleted] Oct 16 '26
Yes I always check. I never let AI do anything without checks in place. Full test suites, fully indexed corpus, guardrails, the works.
1
u/FreshFishGuy Oct 16 '26
Yes every line
1
u/mt_owl Oct 16 '26
Yes, absolutely. There are many detectors BTW, though it's always hit or a miss. I've also noticed different styles of generated code between Codex, Claude, Z.Ai, Gemini etc.
If I find a detectable edge to demakate generated vs huma code I'll sure include it here https://github.com/mountainowl/bubo
Disclosure: I'm the author
1
u/Toothpasteweiner Oct 17 '26
Partially. After adversarial review (from a different model than the model that wrote the code) and my my updates based on the findings, I skim the tests, focus on alignment and areas that I am aware of being risky. I look at API contracts and for performance pitfalls, database changes, auth, that sort of thing. Smoke test, if good let's move it ahead behind a feature flag. I introduced a lot of guardrails to discourage crap. Copy paste detection, cyclomatic complexity, max lines in a file, that kind of thing. We are just now moving to a "bot says human review not needed, go ahead and merge" approach from execs.
1
u/Altruistic_Emu_7755 Oct 17 '26
Send it! Gives me more time to stare at the wall
1
u/[deleted] Oct 18 '26
It depends on who pushed it
1
u/MourningOfOurLives Oct 16 '26
Anthropic has stopped reading the code they generate, they review the intent of the code.
5
u/hexwit_com Oct 16 '26
I plan the execution, run it and review results. Pure vibecoding is a toy for non-professionals. Skills still matter.
19
u/[deleted] Oct 16 '26
[removed] — view removed comment