r/webdev • • Nov 02 '26

Discussion For experienced devs who now allow AI to write most of the code: what do you actually review, and what do you let slide?

I’ve been a casual developer across many languages for ~10ish years but got a degree in mechanical engineering. I pivoted and started an analytics engineering job around 3 years ago and starting doing web development for side projects.

Lately my team has leaned heavily into AI-assisted programming primarily using Claude Code to build React Apps in Databricks. These are primarily CRUD apps but sometimes they do write back to our ERP so they affect the business greatly. The AI writes most of the code now, and I’m trying to figure out where my review time is best spent.

Options I’m weighing:

  • Full line-by-line review (quality, readability, structure)
  • Mainly reviewing the tests, and trusting the code if the tests are solid
  • Testing through the UI, then checking the DB/tables to confirm data was written correctly

Does code readability still matter if AI is the one maintaining it? What has bitten you when you skipped review? If you have a concrete review checklist, I’d love to see it.

120 Upvotes

200 comments sorted by

12

u/Realistic-Eye-5088 Nov 02 '26

You casually mention that these CRUD apps write back to your ERP in the middle of a bullet point, like that's a footnote, and that's the only part of this I'd actually care about. Everything else is a style question.

1

u/TheOnlinePolak Nov 02 '26

I agree, and that’s actually what prompted my question. Our most experienced developer (20+ years in software and web dev, ex-Databricks) built what feels like a solid foundation for the rest of us to extend with AI. But I recently realized he leaned heavily on AI to build that foundation too.

So I opened a random file and started reading. The code was long and verbose, and despite having some web dev experience, I genuinely struggled to follow it. If I can’t understand one random (and probably overly long) function, how can I trust what’s being written to our ERP?

We do have a bit of a safety net: we write to a Databricks table that eventually gets ingested into our ERP, so I can validate against that table during testing. Still, our current process is starting to really concern me.

4

u/Warm_Trouble6656 Nov 03 '26

業務だと難しいかもですが、個人プロジェクトなどで一回全部ノールックマージで、開発してみると、レビューしないといけない所が見えてくると思いました!

1

u/TheOnlinePolak Nov 03 '26

Are you saying over time with experience it becomes evident what requires review?

2

u/Lachiu Nov 03 '26

Yes. Also frontend will require human review. I find that it has a lot of issues adhering to brand guidelines and some css choices are visually off.

2

u/codebryo 27d ago

I actually stopped caring too much for the code written. The secret to success here is to build a good gauntlet of challenges all code needs to pass through.
What I actually do review are tests.

But here's the rought gauntlet:

  1. Every functionality needs to be covered by proper tests.
  2. All changes have to run through all tests.
  3. Tests cannot be changed unless there's a good reason that some behavior changed.
  4. Code has to follow the best practices I linked to
  5. Architecture is vetted and discussed
  6. Security is not optional, and always expect someone to want to break your code.
  7. Keep changes small and be ready that a human with no understanding jumps in and needs to understand what's going on.

So far ... this does wonders. And I'm sleeping really well while products are running.

1

u/TheOnlinePolak 26d ago

This approach makes sense. Can I ask how do you ensure the tests that are written are actually validating functionality and potential faults rather than just "covering" the code

131

u/armahillo rails Nov 02 '26

I review all my generated code before pushing it up for another user to review. I always catch stuff. I always ask myself “how would i review it if it were someone else’s PR?”

I always manually read another dev’s PRs. I may also have claude look through it and then i discuss my thoughts with claude about it to see whether my feedback makes sense, or to ensure i understand what it does.

Readability still matters a lot to me because we are still responsible for resolving bugs and misbehaviors. Also my experience from being burned by things in the past can often fine-tune the code to be more adaptable to future change.

40

u/really_cool_legend Nov 02 '26

This is my exact position. I spend a lot of time unravelling unnecessary complexity, weird abstractions, and other weird decisions until I get it to a place where it's something I'm happy for someone else to associate with me.

I write very little code myself now but all the code looks as if I've written it

10

u/chimbori Nov 02 '26

“I write very little code myself now but all the code looks as if I've written it”

Excellent way to put it, thanks!

Also a good litmus test for generated code: does this mirror closely how I might have written it, in my style?

7

u/SimpleWarthog node Nov 02 '26

do you find this more efficient? is it higher quality overall?

serious question, I'm feeling pretty jaded about the whole thing

10

u/really_cool_legend Nov 02 '26

I think so. The time it takes for me to plan it with the AI, the AI to code it, and me to review it is now finally probably shorter than me just doing it myself. I'm not 100% confident on that though.

The quality argument is where I get the value though. I'm a team of one at my company and AI has become a source for ideas that I've not really had for a while, so that's been nice. It definitely makes mistakes and writes code I'd consider shit, but at the same time it's done things in ways I wouldn't have considered before which I think is helping me grow a bit.

5

u/armahillo rails Nov 02 '26

You can pay for your code now (with reviewing), or you can pay for it later (with bug fixes)

One of them happens on your terms.

4

u/Great-Use-3149 Nov 03 '26

Do you guys actually save any time doing this then? I'd argue it takes longer to review AI code if you want to properly review it, whilst writing it yourself a bit less since you already understand the entire thing and are just looking for the exact pattern that the code needs to have.

56

u/magnakai Nov 02 '26

Review everything. It doesn’t matter if I write it or my agent writes it, I still have to take responsibility for it.

134

u/joshhbk Nov 02 '26 edited Nov 03 '26

Very very funny that a common trend in this thread seems to be “I review all my precious backend code but pretty much just YOLO the bits my actual users interact with”

If this is how you think then I’m sorry to tell you that yngmi

23

u/b4n4n4p4nc4k3s Nov 02 '26

Yeah I can see letting ai throw together a basic front end to make sure buttons work but o matter how magical your backend is, I'm tired of seeing the same front end everywhere. You have a personality, show it. I had the same issue before AI when everyone was just using the same front end libraries for everything, but at least you CHOSE those elements.

24

u/zaibuf Nov 02 '26

You have a personality, show it.

Most people that work professionally are bound by company's design system and UX designers. Even if you have personality you cant just wing it if you need to follow a brand.

→ More replies (2)
→ More replies (1)

8

u/toddlevy Nov 02 '26

I do the opposite 🤷‍♂️

38

u/Stratose Nov 02 '26

Not arguing for negligence, but in reality, frontend interactions in code should be relatively simple. Once you've written enough css / html, reapplying thematic components across the app is not difficult and shouldn't require much review. I spend a lot more time carefully thinking through end user experience and iteration and far less time reviewing divs / inline css / function calls since at the end of the day it just needs to solve an end user problem.

31

u/blazeit420casual Nov 02 '26

The fact that this is downvoted tells you everything you need to know about the makeup of this sub lol. These are straight facts and if you disagree you probably just suck at UI.

10

u/Fs0i Nov 03 '26

I'd express it differently: looking at code is often not the most effective way to judge frontend code. To make an extreme example: if my logo designer sends me an `.svg` for my new logo, I don't look at the .svg as text, I render it and check out the result. The code is secondary.

If a human - or an LLM now - wants me to judge a change of the CSS file, I might sometimes skim it on a line-by-line level, but the best way to understand it is to look at it in the browser, and briefly test the behaviors.

That's where the logic lies, that's the most effective representation for judging the quality of the contribution.

And that's the same with humans and/or LLMs.

→ More replies (11)
→ More replies (3)

3

u/theQuandary 29d ago

Most devs (including FE devs) are incredibly bad gauges of what normal people want/need from an application UI/UX. A dev that is good at programming and also good (or even modest) UI/UX skills is a very rare find.

At the same time, BE devs think that their problems are harder right up until they try to tackle an actually-complex UI and trap themselves in the webs they spin because UI problems are generally a lot less neat with tons of cross-cutting concerns (I've made a lot of money fixing up these messes over the years).

2

u/Stratose 29d ago

I came from a background in game design. My company had no idea how to write up a design document or that you should define a target audience and user stories before designing a single component or writing a single line of code. It's taken years to get buy-in.

→ More replies (39)
→ More replies (9)

10

u/Frozen-Yogurt-Man Nov 03 '26

If your company still allows you the luxury of time to thoroughly review all AI generated code, consider yourself very lucky. We rely a lot on CodeRabbit and an internal tool where 3 separate models review your changes and align on a consensus. It’s the only way to hit our required metrics and stay off the chopping block

9

u/prophase25 Nov 03 '26

I think that knowing what is worth writing a spec for, reviewing the code of, etc. is becoming the skill gap. Programming well the past 10 years was about knowing what to write yourself and what to leave to a library. Go all the way back, and it was about what to write in assembly vs. C.

There is no general answer to the question of, "should I review the code". Is it important code? Review it. Knowing what is or isn't important code is and always has been the skill gap.

17

u/FragDenWayne Nov 02 '26

Nothing. Nobody cares about anything where I am anyway.

5

u/acamann Nov 03 '26

Like always, make sure I understand which bits have the greatest risk or blast radius and give more attention to those, and largely trust the developer/agent with most of the rest until they give me a reason not to.

5

u/word_executable 29d ago

I question the decisions. I suggest different ways. Don’t read the code anymore unless it’s very important.

4

u/rpgFANATIC Nov 02 '26

If I can't read, understand, and enjoy the styling of the code then I don't publish and I don't approve

Same as before

→ More replies (1)

11

u/guidedhand Nov 02 '26

Anything internal tooling, unreleased, front end or test files are just glazed over these days.  At this point, I don't care if the code breaks anything, as the repercussions are on the one making the pr, not the reviewer.  With prs growing to like 70 changed files these days, I've stopped caring to look closely. It would mean I never got to do any actual work my self

1

u/CrazyThief Nov 03 '26

Thats a pretty bad mindset. As the reviewer, you are just as responsible as the one who writes the code. If reviewing takes all your time, you need to report that and the process needs to be changed. You shouldn't just stop caring.

→ More replies (1)

6

u/Bitter_Plastic_818 Nov 02 '26

Anything touching permissions, payments or database writes deserves careful review. Passing tests alone is not enough.

6

u/Shoemugscale Nov 02 '26

So, I have been developing professionally for 26+ years now, I have seen it all and built it all.

For the last year and change I have gone fully agentic in my coding.

What do I do now? Well, I montor, review and direct. Much like a manager if you will, for example, I'm working on a large-ish project fully done with claude.

For me, I took my years of experiance and applied it to AI, meaning, the project started off with a solid body of research, design requirments and MVP etc. This allowed me to start from a good foundation.

At first, I would monitor everything the AI did, I slowly started to trust it more and more and the models for sure got better, however, each commit came or comes with its own code-review and e2e testing update, should something new be added or changed, it must create its test scripts (along with fully unit testing too)

Additonally, I have whole other sessions running along side, building the MCP layer, whos whole job is to build against it agentically, that has been like having a live unit tester because it will discover gaps and usibility issues etc.

The harness I have today is much more mature then what I started with, but I'm really happy with how things have come togeather, its basically allowed me to build a system that is 'me' in a sense, taking decades of experiance and cramming it into a toolset, fully designed to replace me.

Yes, I purposly built it to replace me, I'm going to retire in a few years and well, I need to give the youngers on my team a tool that they can master and continue on, one that is purpose built for AI, meaning it will grow with the demand of AI, but they will be the ones who know how to use the tool

That might be wishful thinking but, I very much want to create an ecosystem that makes them more productive, can lean on agentic technologies and also allows them to not become a victum of AI

11

u/k3liutZu Nov 02 '26

It used to produce code like a junior dev. Reviewing and redoing parts would sometimes take as much if not less. And you could get better quality.

Than last year with Opus 4.6 it started producing mid level code (sometimes better, sometimes worse). Good enough for various tasks. A solid companion. You can let non-critical items in. Like with a more junior teammate. Sure, the variable name is _fine_.

With Opus 5.5 (and Fable, but that’s just too expensive) it’s a solid senior dev. It can do most tasks. Quickly and most of time with a good reliability attached to it. I could spend 2 days writing this. Checking all cases. Or I could have Opus 5.5 do it in maybe 30 min. With me writing the ask for 15 min and another 15 min of testing.

Also bear in mind that all models do have wast knowledge. With the more intelligent ones they also put it to better use. Does it produce bugs? Yes, if it misses things. That’s what you need to review it for and keep a good high-level knowledge of the system. It already finds places and flows I might miss. But you have to check. have him check any smell in the code or architecture. It will find and solve them.

Do I also get dumber? Maybe that’s a harsh word. In a way I am. But I am 20x-50x more productive. I’ll take the 1 hour jo’s instead of 2 days and have maybe 6-7 other items done in the same day. Lots of them which would have just staying piled at the bottom of the backlog otherwise.

1

u/aress1605 29d ago

50x? cmon now, we know it’s not near that.

1

u/m_redditUser Nov 03 '26

what's your personal benefit of being more productive? sounds like you're doing more work for your boss for the same compensation, while getting dumber

3

u/k3liutZu Nov 03 '26

That’s the industry. Always has been, always will be.

What I think this new era of AI-improved productivity will bring is for us as “developers” to be a “1-man army”. And for us benefit from it personally is to build stuff for ourselves with the skills that we have. This has been true before, but now the effort to actually ship stuff has dramatically gone down.

3

u/IllegalThings Nov 03 '26

The personal benefit is not getting fired when everyone else speeds up and you stay the same.

2

u/Great-Use-3149 Nov 03 '26 edited Nov 03 '26

Sounds like a lot of people never liked doing these things and now just yolo things.. getting 50x more output is an absolute off switch to thinking, because there is no way you're even reading things 50x faster, even less thinking. 

That is, unless it is some very mundane repeatable and deterministic thing that they're doing. In the latter case, it could of all just be done via simple Python scripts

1

u/0rangaStang Nov 03 '26

The grim reality is that you're being more productive to compete with other people that are using these tools. 

If you don't, what's stopping the employer from finding someone else or outsourcing.

1

u/lucid1014 Nov 03 '26

Yeah, I’m a senior Front End developer . I just got laid off. Our company barely integrated AI and I’m just now starting to use it and learn about agentic coding. I’ve been working on some side projects to get my skills sharper for interviews and I’m pretty blown away by what I can do honestly better than I can definitely faster how I used sigma‘s AI to develop a design for a web app and then I use cloud and figs MCP to implement the front end and not only did it do it pixel perfect, but it added functionality that I didn’t even intend for since the design had search and Zoom buttons and some other things in it add those buttons and not just the UI, but the functionality as well

3

u/JadedAd8349 Nov 02 '26

Trusting the code if the tests are solid" only works when the tests weren't written by the same agent that wrote the code, otherwise they just confirm the code does what the code does. Readability matters precisely because AI isn't the one maintaining it, you are, at 2am when someone asks why the ERP writeback posted an invoice twice.

17

u/GarlicDaGhost Nov 02 '26

I do full stack development. Generally my biggest concern is the backend, i usually do a thorough review of it to ensure security and optimizations.

On the frontend i don't worry much. I don't code review it much. As long as it looks nice and the flows are correct.

Client bugs can always and ugly buttons can always be fixed, but a security breach or vulnerability on the server / backend can do irreversible damage.

17

u/falconandeagle Nov 02 '26

You should setup playwright. You should check render times. You should also check number of api calls being made, I have seen vibe coded apps that are making an insane number of api calls. Frontend is not just ugly buttons or UI elements, in todays apps a ton happens in the frontend.

7

u/frogic Nov 02 '26

It really depends on the application. I recently found a bug that was causing code splitting to not work on the framework we use and went down a huge rabbit hole about LCP and first load and rerenders. Basically reduced gzipped javascript from 700k to sub 100. Got LCP down to sub 1s from 3ish. Removed all layout shift.

As far as I know not a single user has said anything about it because we were already so much faster than the old system. Also our marketing department loads so many trackers that it bottlenecks. Plus once its cached V8 really does bail you out of a lot of that. Extra renders is almost always premature optimization as well. It feels good to remove them but react and v8 bails you out of so much non-optimal code that if you don't have an actual bug or insane no feedback load times(add a spinner suddenly everyone is fine) its usually not important.

That being said anything that makes the actual user experience better (easy to use UI. Able to do all actions in every logical place. Back button doing what you want. Etc etc) is huge. I will also say the front end being simple vs back end thing is hilarious to me. I do both and a tonne of backend work is just trivial crud that is very easily implimented with AI. Front end hits a mad storm of async race conditions and side effects really often.

7

u/GarlicDaGhost Nov 02 '26

I agree, frontend is not simple at all. My argument is just that it's not that big a deal if it breaks. Compared to sloppy work on the backend.

4

u/frogic Nov 02 '26

Different kinds of problems. They both can make you lose a tonne of business and users. I guess the X factor is that if you make really slow or inefficient code you're the one paying for the server compute and front end mostly doesn't have to worry about security because its all insecure by design.

2

u/Etheon44 29d ago

A broken frontend can leave your clients without a possibility of utilizing the software, which means money lost immediately

I have seen this happening quite a few times

1

u/avenp Nov 02 '26

This is exactly why I always hand-code important architecture and patterns in advance and make sure my AGENTS file instructs the AI to follow existing conventions. I still have to course correct occasionally but if you setup your project right beforehand you can let the AI do its thing and it will do it without a lot of the issues you are mentioning (and right to be concerned about!)

1

u/calimio6 front-end Nov 03 '26

My phone is not that old but lately the sites are starting to crash my phone.

And you are right AI would destroy the performance of a site if you don't actually know what to look for.

1

u/Etheon44 29d ago

This is when you know the person saying it is a scared backender about AI

I have yet to work on a single app that, if it is challenging and difficult on the backend, it is also so in the frontend, because more complexity tends to mean more flows and the front has to have all of that in 1 single page, very easy to start having the problems you mentioned

1

u/GarlicDaGhost Nov 02 '26

And what is the fallout of making a few too many api calls? Not much, a slow app. That can always be resolved if it becomes an issue.

4

u/avenp Nov 02 '26

The fallout can actually be much, much worse than that. What if you were consuming a third-party API? You could be racking up huge costs for your company, or you could accidentally DDoS the service you're calling out to leading to potential legal action against you.

These aren't hypothetical situations either, see this thread on the very real dangers of doing what you just casually shrugged off:

https://www.reddit.com/r/2007scape/comments/1wi1c23/osrs_wiki_and_runelite_are_increasingly_under/

2

u/knowyourclass 29d ago

consuming a paid third party API from the frontend seems the most horrible not secure and beginner mistake to do ever

→ More replies (2)

2

u/ReplacementLow6704 Nov 02 '26

Slow app can mean slow sales and slow growth leading to slow unemployment

2

u/falconandeagle Nov 02 '26

From your replies I can see I am talking to a junior or someone that has no clue about the frontend so I will stop here.

2

u/GarlicDaGhost Nov 02 '26

Lovely, why start a discussion if you refuse to engage in said discussion?

1

u/dangerousbrian Nov 03 '26

I once ddos'd our own server by fucking up a data fetch function in the frontend. It didn't actually take down the server but did cost a shit ton of aws creds. this was pre LLM;s so all my fault

→ More replies (2)

2

u/Dagoneth full-stack Nov 02 '26

It’s been really interesting experimenting with different ways of using it, because I don’t think anyone really knows at the moment.

I have ADRs that I have it write against, and a suite of really good tests to apply enough back pressure so that it writes pretty decent and competent code, and then just apply my own product knowledge on top.

That’s all based in a good 20 years of engineering experience though, so it’s just really doing what I could do but faster. I have no idea how the next generation is going to do it.

2

u/Virtual_Active_7434 Nov 02 '26

your ERP will find out

2

u/Afraid-Driver4160 Nov 02 '26

just let it touch the ERP

2

u/Empty_Ninja_6291 Nov 02 '26

The only way I know is to run it, or bullet point 3. Old school black box testing. Trying to manually review it line by line like human code is pointless, because it's too inhuman to read, and there's too much of it.

2

u/No-Mechanic-433 Nov 02 '26

Since it writes back to your ERP, I'd spend most of the review time on that path: what exactly gets written, what happens if the same job runs twice, and what happens if it dies halfway. Give it a service account that can only touch the tables it needs, so a bad generated query can't touch anything else. The rest I'd spot check.

2

u/avenp Nov 02 '26

All of the above, and AI generated code still needs to be able to have humans work on it and review it, so for me readability is still very important. Better to be using "boring" patterns instead of clever one-liners, etc. regardless of its AI or human generated.

2

u/AggressiveResist8615 Nov 02 '26

Get another agent to review it lol

2

u/onesneakymofo Nov 02 '26

Business logic, UI / UX, security, database design, and context

2

u/CopiousAmountsofJizz Nov 03 '26

It's about supplying derministic mechanisms to make AI self-accountable. The easy win here is make it habitual that it writes E2E suites and test coverage for all contributions. Gate review passes before PRs merge and then respond with an adversarial evaluation that verifies with you before pushing and resolving.

2

u/elydelacruz Nov 03 '26

Everything except the tests; I have several directives about test coverage, linting, and builds and all commits and new code (including bash scripts, etc.) must be covered by tests and must be covered at a minimum of 80%.

Note: I review the test files only until I see the actual test cases start (like to make sure things are looking as expected up to then).

Also, on top of everything - Suite wide coverage, lints, and builds must pass before a commit can be made and a PR could be opened.

2

u/Regular_Antelope7381 Nov 03 '26

one thing that's helped me: before reading the diff, ask it for a short summary of what it changed and anything it assumed. then review the diff against that. the bugs are usually where the two don't match, or in an assumption it states like it's obvious. and yeah the erp write-back is the part i'd read line by line, the crud screens way less

2

u/ammuench Nov 03 '26

What I've done to make it more manageable for myself is build a plan for the work, then direct the agent to divvy the plan up into related "chunks" of work that act as a good checkpoint for me to review together. Helps me read through more meaningful diffs, and then also make adjustments way more rapidly than waiting 'til the end of a 20 file diff. Once I approve a checkpoint, I commit it then let the agent build up to the next one. Rinse and repeat

Plus, if you have other teammates, you can use that structure to give them a review guide by letting them follow the commits

2

u/ArielCoding Nov 03 '26

Your Databricks staging table is your safety net, so focus your review on the code that writes to it, make sure running a job twice can’t create duplicate rows, reject bad data before it’s saved, and log who or what wrote each row and when.

Then after each release, click through the app and check that table matches what you did, so you’re verifying results instead of reading functions.

2

u/abundant_singularity Nov 03 '26

As a principal engineer i mostly review AI slop, sit and lead architectural meetings, write tech docs, and ensure tech leads are on the right track. The toughest part is we are very light on the product side so we have to pull teeth to get any guidance if we want acceptance criterias to guide AI

2

u/saito200 Nov 03 '26

read the post by claude.dev about how they do code reviews

2

u/mulquin Nov 03 '26 edited 29d ago

I was and still am a mediocre programmer but have a decent eye for design and systems architecture. So I start with the interface; it should show the correct information at the correct time, etc. Then I throw all kinds of prompts at the code to look for things like security holes, n+1 issues and potential areas for caching, "imagine you're a hacker that is determined to destroy this sytem". These prompts must be done on a continuing basis. But it all comes back the user interface.

I found a lot of issues came from the model making assumptions due to my initial design prompt not being clear or having unintended implications. At the end of prompts I put "Ask me lots of clarifying questions", and it will then assess those assumptions before proceeding and have me confirm them.

2

u/Former_Produce1721 Nov 03 '26

AI can't maintain at medium or large scale

For tools I vibe code. For product I review every line and other AI and humans also review before merge.

2

u/PravoNaZhizny Nov 03 '26

not a webdev simce childhood but in firmware i review absolutely everything but my agents are very solid

2

u/sydrk Nov 03 '26 edited Nov 03 '26

To answer your question, yes I believe that code readability should still matter. Anything that you "trusted" AI to do, has to be verifiable by the human. Everything project that you do should be of a quality in code and documentation that can be handed off to a human team. While I appreciate Jensen Huang's view that in future nobody will ever code, I don't think that would be sooner than he thinks. Besides, it won't mean that no human being in the world will ever know how to code ever. Therefore, the principle in my answer should still stand.

What I think is realistic, is when AI has proven to be aligned with how you build your web product, you begin to identify low to medium impact tasks and work that you can "risk" it to go wrong and then easily fix. That said, all the more you cannot hand off coding entirely to AI. Ideally, full line-by-line review will become less and less but never gone.

Since you are talking about web products, AI running Playwright for headless testing has been very useful to me. Nonetheless, real human inspection through the actual UI is still necessary to straighten out against misinterpretation or miscommunication of the outcome (happens in human teams too – and not rarely!). However, as you and your team build more reliable expectations of your AI agent's work, the amount of testing should reliably come down.

I built my latest web app this way. It is a locally run web builder that can create quality marketing Next.js sites using the principles that I just shared. Definitely helped me to build multiple websites far more quickly, efficiently and DRY-ly, always updating the Product Requirement Document and the Technical Design Document. At any time if I need to hand-off to a human or a human-team, I am confident they can take the project and run with it.

2

u/squeeemeister Nov 03 '26

“Allow” hah, “forced” is more like it.

2

u/Full_Tooth_a Nov 03 '26

I'd review the ERP write-back closely and spend much less time on the React markup. I'd want evidence that authorization and account scoping are correct, retries can't duplicate a mutation, partial failures can be recovered, and every change produces a useful audit trail. UI tests won't catch most of those problems. Readability still matters because the eventual bug may be "why was this order updated twice three weeks ago?" rather than a clean test failure.

2

u/Narutom 29d ago

I'd say I review code more now that I use Claude. I've saved a bunch of time not having to work things out and write the code manually, but the code that reaches PR goes through a rigorous back and forth, exploring options, filling gaps, and a significant amount of quality control, so the time taken to do that almost cancels out the time saved.

However, all my PRs now come with tests, adequate documentation, and follow up tickets where I've found existing gaps or bugs in the codebase. I also use agents to do manual testing of user journeys and find edge cases. So overall although my output in terms of tasks is only marginally increased, the depth and quality of what's produced is significant.

2

u/rachie27 29d ago

AI pre-review and autofix. I read to code to ensure I understand what it’s doing. I don’t read tests. I have scripted tests using Playwright, monitors, and manually verify what’s left.

2

u/smakusdod 29d ago

Nothing slides. Your previous commits inform the future. Review and understand the code and decisions made. Still create unit tests for things that tend to break or critical sections - benchmarks should be part of this.

2

u/Gary-Burfield-Wallis 28d ago

Your clarification about the Databricks table is the important bit for me.

I'd be much more concerned about what happens when that data eventually reaches the ERP than whether the React interface appears to work.

You can have a perfectly functioning screen, correct-looking staging data and still end up with the wrong result in the business system.

I'd deliberately test what happens with duplicate submissions, retries, invalid records and interrupted updates. Then check the actual ERP result, not just the staging table.

I'd also want a clear record of what changed, why it changed and how to recover if something goes wrong.

Tests are important, but when AI writes both the implementation and the tests, there's a risk they're both working from the same incorrect assumption.

I wouldn't necessarily spend hours reviewing every cosmetic detail, but anything changing business data needs to be understandable to the person who's going to be responsible when it breaks.

2

u/nightman 23d ago

There's nice Matt Pocock one-way and two-way door explanation - https://x.com/mattpocockuk/status/2100895593618907402?a=Ej_QLyxZ7DN3rTbH0rU&s=20

3

u/Vegetable-Capital-54 Nov 03 '26 edited Nov 03 '26

I don't read the code anymore.

A year ago I would have thought that's a crazy statement btw. A few days ago I pushed 100k line commit straight to production. Claude is better programmer than me anyway, and I've been programming for 21+ years. Manual programming is dead.

10

u/christfrost 29d ago

> pushed 100k lines straight to production

Is that a solo project or your entire team is retarted?

7

u/not_a-mimic 29d ago

Sounds like a terrible idea

5

u/Dreadsin 29d ago

Hey

Don’t do that

Claude is not perfect

3

u/Strange-Tap5860 29d ago

So what do you do?

2

u/activematrix99 29d ago

I am with you. I look at the files/directory, look at the test output, review the summary that the tool wrote (I usually use a multiagent tool, not Claude), check the ticket, and then ship it.

2

u/Lunchboxsushi 29d ago

Hard agree, but you do need things like observability and some sort of auto heal agents, QA agents and so on before prod IMO. And systems that have a risk of bankrupting the company are reviewed with more scrutiny 

2

u/HistoricalBeat848 27d ago

When you read you discover marvels...
Logical errors, fallback functions instead of what you asked the AI to write, functions not written at all etc, security errors because of assumptions. But maybe in a team setting if rule files are written well, there is no problem with that ?

1

u/angry_baptist 29d ago

upward mobility is also dead it seems

1

u/Positive_Dirt_7020 4d ago

That's the answer I was looking for haha

2

u/Clear-Aide1349 Nov 02 '26

Who wrote the tests though? If it's the same model that wrote the code, "the tests are solid" just means it agrees with itself. Readability matters the day an ERP write goes sideways and you're the one in the diff.

2

u/vikentii_krapka Nov 02 '26

I'm an engineer with over 17 yoe currently leading a team. My policy is to not review code itself basically, maybe skim through it to see if something catches the eye and that's it. The reason behind it is that we don't work with code directly anyway, AI writes it and AI maintains it. So, PR review focus is now shifted from code to product outcomes.

2

u/Me-Regarded Nov 03 '26

Just let it do everything, check nothing. I'm just doing as little as possible and riding this into the ground which is coming for everyone. Dev work is obviously finished

2

u/Positive_Dirt_7020 4d ago

That's the right answer to the post

1

u/oscarolim Nov 02 '26

Knowing the code matters, because you shouldn’t be using an agent to change a single line of code. However for you to know which line to change, it requires you to know where it is.

Always ask to plan the changes first, or the implementation plan, so you can review and amend where required. And ask for small elements at the time when dealing with complex goals (for example if you’re building a dashboard with charts and metrics, first define how a single chart per type should behave, then the metrics, then the dashboard, instead of going for “make a dashboard with 3 charts and 2 metrics”. The former makes it easier to review, the latter gives you a barrage of code you feel like too much to look at.

1

u/ZachVorhies Nov 02 '26

Design out tests and architectural linting and find bottlenecks to unlock more speed.

1

u/Ok_Jello8972 Nov 02 '26

Small thing: "~10ish years" is saying it twice, the tilde already means approximately. And "I have an analytics engineering job around 3 years ago" doesn't hold together, that one should be past tense.

1

u/Irythros Nov 03 '26

Short basic script for doing some management thing? I'll glance over it. Look to see what is there, what may be missing, the inputs etc but I won't be scrutinizing it for edge cases. It's using just 100-200 lines of bash so it's not really a problem.

Medium to long management script? I'll probably give it less of a review but I will instead have it be written in something like Go with types and testing attached.

The rest is also kind of like the above. When its super short I'll be more critical on the review but less critical on the requirements (type checking, bounding, etc). The longer it gets the more restrictions it has and the more testing it gets.

Additional care is taken when it comes to certain areas. For example payment interaction, authentication, authorization etc. Those get 100% complete manual review with heavy scrutiny. They also get sent through security testing with abliterated models trying to break it.

1

u/RafaelSirah Nov 03 '26

I wrote a CLI on top of Claude code that integrates with our project management tool via mcp that reviews the work by the agent(s) in 3 stages.

  1. Spec -> Assertion system, often product concepts that should be true even more than technical.
  2. High level architecture plan submitted by coding agent that I have to approve, similar to the conversation I’d have with a junior dev
  3. PR with a file by file explanation of what changed in each file and why in the project management tool.

1

u/saltyourhash 29d ago

The code

1

u/IslayProgrammes 28d ago

Make it write tests for everything and review the tests, that’ll give you a real look into what it’s doing without reviewing 1000’s of lines of code

1

u/FrenchFryNinja 23d ago

For production apps:

Every line gets reviewed by a human. I’m in health care. We’re pretty rigorous with testing and code quality.

1

u/Positive_Dirt_7020 4d ago

Code review is dead with AI, now I only watch for important parts and user experience. Get over with it guys

1

u/-Paradise javascript 29d ago edited 29d ago

Simple changes - just prompt.

Medium - A simple plan grill me with docs skills / to spec / build

Large changes - I tend to just POC something with the AI let it build something and have a high level review how it approached and see what it done differently to whatever I had in my head. Ill then use this information to and any other research maybe use the wayfinder skill to then come up with the actual spec and to tickets.

https://plannotator.ai/ Is probably the best tool i've used with AI.

annotate the plans and the code review tool in it is great for working with agents.

I do all the the options you listed it just depends on the feature. Small changes I would rather just verify it myself. Utilise stacked PRs or don't let your agent commit and have it ask for a review after each task and be sure to break the tasks down small.

I find that AI still over engineers a lot of solutions and theres still value in the code being readable and you understanding how everything works.

-1

u/mcharytoniuk Nov 02 '26

I wrote my own custom linter that enforces specific rules I like, and I kept expanding it until I felt no need to review the code.

So now I pretty much just start a coding session and go away to do something else in the meantime

5

u/Opposite-Shoulder260 Nov 02 '26

I trust Claude at xHigh quite a lot nowadays, but I still check everything it does. It misses things, repeats itself from time to time, and sometimes comes up with a 500-line solution for a 10-line algorithm. And that's not even getting into how often it misses or misinterprets business logic, or fails to understand why certain pieces of code exist in the first place.

And that's with all the safety nets we have in place: automated linting, GitHub Actions checking files and changes, CI pipelines, all sorts of automated checks. Those catch a lot of issues, but they certainly don't catch everything, especially when it comes to business logic or architectural decisions.

What the hell are you doing that allows you to go fully AI-driven without even checking what it's doing?

7

u/Onomanatee Nov 02 '26

Okay but like, linting and reviews are very different things.

-4

u/mcharytoniuk Nov 02 '26

Ok but I managed automated whatever checks I have been doing during a review; that’s the point

2

u/Onomanatee Nov 02 '26

The point is to read through it, check what it does against the intent and judge architectural decisions based on their merits for the current target versus long-term development costs.

All the other stuff gets automated through linting and tests. If you figured out a way to automate the human brain part of the review, I suggest you spin up a company and become a billionaire.

→ More replies (1)

1

u/captain_obvious_here back-end Nov 02 '26

How is linting enough to ensure the generated code does the right thing the right way?

0

u/justshittyposts Nov 02 '26

interesting, I did something similar with really weird oxlint rules (typescript) like: forced hoisting, no top-level code (except imported or exported function calls). max amount of file lines, max amount of lines in functions. I'm quite happy with the result. Any tips for similar rules like these?

1

u/mcharytoniuk Nov 02 '26

IMO the most important are architecture checks like at most a single public item per file (for readability), no modules cycles (always keep diamond-like structure - that alone forces AI to make much better decisions), or enforced best practices 100% code coverage, etc; depends on a project. Also benchmarks so performance gets better or at least never degrades

-3

u/BlahYourHamster Nov 02 '26

I read any backend code or database scripts line by line but I mostly gloss over HTML/CSS and front end JS to some degree.