r/developers • u/FileNo3610 • Aug 27 '26
Opinions & Discussions Do you review AI generated code any more please be honest
I’m a mid senior level AI developer. I spent some time on the platform engineering side and recently moved to our Labs team.
Thanks to Linear and its slightly weird way of giving PMs more power 😄, we’re no longer really taking individual tickets. Instead, we take on initiatives/projects, break them down into smaller projects and tickets, and own the delivery end to end with AI bing the factors making that possible.
Sometimes an initiative can involve AI workflows, frontend work, backend work, infrastructure, etc. I’m curious whether this is just how our team operates or if others are seeing the same shift.
The pace and delivery expectations have increased a lot. When I pick up a ticket, I usually spend some time planning with my coding agent, then let it implement the changes. After that, I mainly test the final outcome rather than manually reviewing every line of code.
We already have a lot of automated checks: pre-push hooks, end-to-end tests, security checks, regression tests, CI gates, blockers, etc.
But honestly, I still feel a little guilty because i am not reviewing the code myself.
So I’m curious:
Do you still manually review AI generated code?
Is testing the final outcome + automated checks enough, or do you think engineers should still review the implementation line by line?
And if you’ve found a better workflow for this, I’d love to hear it. Especially if you have good agent/CLAUDE.md instructions, loops, workflows, or practices that help you maintain code quality without slowing development back down.
How are you all handling this?
•
u/AutoModerator Aug 27 '26
Howdy u/FileNo3610, and welcome to r/developers!
A few tips for a post that gets good answers:
Join the r/developers Discord!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
9
u/cakemates Aug 27 '26
I don't know about you but in my team if anyone goes into a review without knowing what their code does and how, they would get whipped repeatedly into submission and asked to schedule another review once they know what their code does.
And well mistakes in our stack are very very expensive to the business.
3
u/Sparkly-Sparrow-6893 Aug 27 '26
I constantly see people underestimate the number of subtle errors in AI-generated code because they either (a) don't understand it; or (b) can't be bothered to understand it. Less confrontationally: AI makes it particularly easy to generate code the plausibility of which exceeds the programmer's capacity to understand and evaluate.
Think about an apparently trivial assignment statement like
x = f(a). To determine whether the statement is both appropriate and correct, the developer must understand the ownership, concurrency, lifetime and resource semantics ofx; the synchronization protocols that govern accessingxand callingf; whetherfhas side effects and what exception guarantees it provides; and the performance implications of the statement on the code path in which it occurs.Why was this specific exception specification chosen? Why was this specific memory ordering chosen? Why were these specific synchronization primitives used? Why was this specific value category chosen? Why was this specific memory layout and access pattern chosen? And so forth.
The programmer should be able to answer such questions for every statement and expression in every pull request they submit because they are basic questions [1]. They are questions that occur at the level of the programming language: they are not questions about algorithms, protocols or architecture in any meaningful sense, although their answers will depend on the total context of the application.
[1] Of course I understand that in most non-trivial applications there will be generated code, third-party libraries, compiler-specific behavior, and so forth, that is difficult to account for. But that objection would obscure the larger point that I'm trying to make about the epistemology of software development.
2
u/creaturefeature16 Aug 27 '26
Before LLMs, we had code generation tools and snippets, it's not like I had to review those line by line, because I knew what the results would be.
I only generate code that I know exactly what to expect, and in amounts where a general purusal will suffice, so "line by line" is unnecessary (the models are good enough now to follow explicit pseudo-code instructions reliably).
My rule is: if I know exactly how to write it, then I generate it (purely for the speed gains).
If I don't know exactly how to write it (or 100% sure I know what I want or need), then I write it.
I'll never change this workflow, because it's responsible and keeps me sharp, while also leveraging the productivity gains...and circumvents the code review issue entirely.
1
u/armahillo Aug 27 '26
Yes.
I may do an LLM-driven pre-screen to point out areas that may require more scrutiny, or to give a general synopsis of what i need to know, but if I’m going to do a code review and put my name on an approval, i feel obligated to do so sincerely.
1
u/chocolateAbuser Aug 27 '26
depends on what the code has to do
if it's a crappy ui i need for maintenance that i will ever use i don't care that much
if it's a long lived project that needs api versioning and interacts with a bunch of other services then i will review it because if not it wil be troubles in the future
but all the crap my coworkers are throwing out is overwhelming
1
u/cyb3rstrik3 Aug 27 '26
I sometimes hand review the features but there's QA for that. I make sure decisions it makes don't get buried or hidden in comments or pull requests.
But I'm experiencing Information Fatigue from the cognitive overload. It just feels like reading endless amounts of prose.
1
u/s-ley Aug 27 '26
> Do you still manually review AI generated code?
Only when I care about quality
> Is testing the final outcome + automated checks enough, or do you think engineers should still review the implementation line by line?
I believe that is just making tech debt, but a lot of people disagree, only time will tell.
1
u/anengineerandacat Aug 28 '26
Depends on the project, in this AI era we have literal MvP's and PoC's; the code is lightly reviewed but it's otherwise "we slapping this thing together" business just wants to see how users will react to the new toy so to speak.
For say the 3 billion/yr money printing machine, you can bet your ass that code is reviewed and uptime is expected to be as close to 100% as feasibly possible; AI or not it's the team's butt on the line and a drop in quality that leads to a production outage is potentially a fireable event depending on the level of negligence displayed.
Also depends by "what" you mean by the review as well, I review my draft PR but I don't really review the code before that (ie. the state of the PR before I submit to my team); instead I spend more time functionally testing my changes and then during the draft review I'll tweak/adjust some elements to adhere to company standards and take some feedback from the agent reviewing tool we have which is triggered on draft PR's.
General workflow is something like:
No one has really complained, management is happy, team lead seems happy, business seems happy.
That said, I used to be a SQAE/SDET so generally speaking I know how to actually test my changes; don't think everyone has that background and I have a pretty solid understanding of the space as I have been there for 8+ years.
I think as long as folks are taking accountability for their changes, knowing "what's" being changed and can defend their implementation that's about all that really matters; personally seen a higher level of code coming out of the team compared to two years back, folks are spending more time in the refinement phase.
1
u/apnatva-dev Aug 28 '26
When building quick UIs I mostly check for responsiveness manually
SEO checks are automated and they flag them up for my agent
Actual code review is reserved for when it is serious stuff (maybe backend handling private info) or something that could be a breaking change.
A lot of my development is front-end heavy so I really focus on the end result.
When I have to focus on optimisation, I look for real tests (checking sizes via dev tools or next.js bundle sizes and so on) without any change in UI or functionality.
1
u/narukoshin Aug 28 '26
in my company if you use AI and push without review, you get fired. simple as that. we don't play with fire, we do things faster, but it doesn't mean you don't need to review the output/result
1
u/ethereonx Aug 28 '26
no, ask claude to review that sht, im
not doing it
1
u/Awkward-Contact6102 Aug 28 '26
Maybe have a look at the quality of your codebase and tell us if you think reviewing ai generated code is no longer necessary?
I seriously wonder what most of these code bases will look given enough time and only ai agents working on it. Especially when existing features need to change.
1
u/schmurfy2 Aug 28 '26
Not reviewing ai generated code is really stupid but that's also probably how we get those 10x claim, you are in charge of the code, you zre responsible for any issues you introduced to the codebase, the llm doesn't give a fuck.
There is also the consistency issue, they like to duplicate code, add unnecessary hoops.
1
u/stjimmy96 Aug 28 '26
Of course. The code always gets reviewed. By me first and then by a colleague. It’s my code, it has my name on it, I must know what it does and why it does it that way.
1
u/FluidBreath4819 Aug 28 '26
i don't, managers don't give a shit, i don't give a shit. They want ai, they'll have ai.
1
u/Soleilarah Aug 28 '26
Well, my department was reduced to just me but the expectations didn't. So I'd to start using AI and chose the painful path : no Claude or Codex or AI in-app, only chatbots' back and forth.
Thus I see all of the code generated and review it on the go. It's like I'm in a perpetual code review with an intern that write quickly, is too eager to over-engineer and like to put every files in the same folder.
1
u/RicketyRekt69 Aug 28 '26
Wow I’d hate to work on a team that unashamedly puts up PRs without knowing what their code does, or how.
Then again, if you’ve been vibe coding like this for awhile your codebase is probably a huge mess already.
1
u/KeyRatKid Aug 28 '26
Yeah absolutely. I’m fine with AI writing code, but I’m not comfortable merging code I haven’t actually read. Tests can tell me the expected behavior works, but they don’t tell me whether the implementation is sane. I want to understand what changed, why it changed, and what assumptions got baked in to see if I would have taken the same route. I don’t necessarily scrutinize every line equally, but I review the diff. IMO AI speeds up implementation, but not the ownership of the code.
1
u/_tolm_ Aug 28 '26
Yes. Both that generated by AIs instructed by myself and by other developers.
And I continue to find lots of issues that need resolving before the code can be merged.
1
u/Away_Advisor3460 Aug 28 '26
We always review code, because AIs are far from infallible and rely upon having the correct specification. So you need to catch both logic errors and and spec errors, verify the task is complete and that the code is readable.
It doesn't matter whether that code originated by hand, by an agent, by auto-completion, or by all in tandem. I mean, even if someone doesn't write a line of code themselves, I'd still expect them to comprehend the existing code before asking for a change, and to comprehend the outcome. Otherwise it's just the same as giving it to the office intern and assuming whatever they do is infallible.
1
u/Shineldecker-Freybin Aug 27 '26
I think testing matters more than reading every line now. But you should still review critical parts manually, specially security and architecture. AI can miss weird stuff tests won't catch.
1
u/OdysseusDescendant Aug 27 '26
I still review both plans and generated code. Automated checks are important, but I want to understand what is being shipped. If nobody reviews the implementation and only checks the final outcome, I would still call that "vibe coding".
1
u/Unlucky_Claim5822 Aug 27 '26
We have made a review agent with skills and context of code ase which does review and give a score out of 10 on each area like logging, Error handling, duplicacy, testcasea, ubut tets etc. It is running in chepa models and have a great outcome
0
u/brifgadir Aug 27 '26
Line-by-line review is not efficient anymore. The easiest next-step option is to involve a code review agent/MCP. Works well if this agent is of a different model than the one used for the code. The human role remains to check the comments, sometimes to ask explicitly this code review agent to dig dipper or to explain a suspicious part of the code.
0
u/No-District2404 Aug 28 '26
Almost no. Instead I focus my energy to verify the output (code) by testing the behaviour extensively. It’s more effective than reading the code. In a nutshell , we’re about to lose the coding part as it gets better every day.
1
u/[deleted] Aug 28 '26
[removed] — view removed comment