r/ArtificialInteligence • • 16h ago

šŸ“Š Analysis / Opinion Senior developers insisting on reviewing code made by claude

Here by review I mean line by line and manually like traditionally.
—

Imagine you work for a company with some senior developers that used to write code manually and tend to understand everything line by line.

Now you as an experienced engineer, and now an AI Engineer put together high quality code with Claude Code (with near perfect prompt and context), which has test cases and self explains itself. You are now just hyper productive with AI.
Now the senior engineer sees you produce massive amount of code in minutes and does not trust AI and asks you to explain the code, the way they do.

To me it is a show stopper. To them, they want to protect the product and the customers and the company.

What I am trying to say here, how can we really expedite our shipping? In other words, if we develop code so fast with Claude, we write the tests, we verify manually, and we self-review to better understand the generated code. We cannot still ship fast, since piles of MRs are accumulated for review, and we heavily (and correctly) rely on senior ones to review before you get the confidence level to push.
So how can you help a senior dev to review your things faster, so you ship faster. The question is not to remove the review off the table here.

What do you do?
I have already tried training to help them understand things but no use. Maybe they are right in some ways?

0 Upvotes

59 comments sorted by

19

u/VeterinarianPast5221 16h ago

The code self explains itself and the prompt was near perfect, so walking a senior dev through it should be the easy part of your week. Unless it turns out it doesn't and it wasn't.

5

u/Beli_Mawrr 16h ago

Op, asked to turn a button blue, asks his coworkers to review the resulting 30k line PR and is stunned, simply without words, when it gets rejected.Ā 

-1

u/rezakhan0 16h ago

What I am trying to say here, how can we really expedite our shipping? In other words, if we develop code so fast with Claude, we write the tests, we verify manually, and we self-review to better understand the generated code. We cannot still ship fast, since piles of MRs are accumulated for review, and we heavily (and correctly) rely on senior ones to review before you get the confidence level to push.
So how can you help a senior dev to review your things faster, so you ship faster. The question is not to remove the review off the table here.

2

u/Top_Voice2767 13h ago

Do much smaller PR with simpler incremental changes that are easy to review? Develop a better validation of your changes with more realistic use-case? Improve the review workflow?

I mean, AI or not review always look slow in the eye of the person producing code. This isn't remotely new.

-1

u/rezakhan0 13h ago

I like the idea of making smaller code churns, but only if possible. Once there are bugs there, you cannot really split.
With better review workflow, I am working on it....

2

u/Top_Voice2767 12h ago

In my experience, it's almost always possible (unless catastrophic), but that requires certain decisions on the codebase (how modular is it, are each part well isolated, design patterns).

Gigantic PR that cannot be split are indicative of bigger problems in the codebase.

2

u/redvsblueheeler 11h ago

if you can't make it easy to review, its not safe to land. Github supports stacks natively. It's trivial to say "split this into PRs no longer than 800 loc and stack then".

1

u/Choperello 15h ago edited 14h ago
  1. Orchestrate your agents to produce readable PRs is the first step. By default they will not. That includes things from ā€œdon’t put 50 features in 1 prā€ to ā€œdon’t create a 1000 line fix when 20 lines will sufficeā€ to ā€œgenerate USABLE pr descs, not a manuscript of Claude speakā€ and a whole slew of other things that everyone knows agents do.
  2. Separate architecture from implementation. The worst thing about AI PRs is when the architecture design decisions are commingled with implementation and you have to read every single an carefully not because you don’t trust the implementation but because you don’t trust the design being implemented.
  3. Set up ci ai review agents that run separately from the implementation agents focusing specifically on the above as well as other BS ai patterns (eg 80% of all tests I’ve seen AI generate are bullshit test theater, it LOOKS like Wow Tests! In reality you have nothing). The human review should come in after all those pass.
  4. lint lint lint and non ai deterministic checkers. Every time you see the agent go off an inplement anti patterns add deterministic CI checkers to catch it. You can have you agent even build those, the whole point is they should be deterministic and fast and be liberal with adding them.

And finally. Always determine architecture up front and review that very carefully. AI right now may be great at implementing a design but it’s absolutely shit at picking the right architecture design on its own. It will happily pick patterns that will work for your v1 and have zero chance at scaling for production or staying maintainable or pick whatever else.

1

u/Actual__Wizard 6h ago

We cannot still ship fast, since piles of MRs are accumulated for review, and we heavily (and correctly) rely on senior ones to review before you get the confidence level to push.

That's correct, you can't. You can't just skip the product creation process and pretend that a pile of barf is what the customer wanted, that's called fraud!

11

u/Default-Username-168 16h ago

No experienced engineer would rush code through without thorough review.

1

u/rezakhan0 16h ago

What I am trying to say here, how can we really expedite our shipping? In other words, if we develop code so fast with Claude, we write the tests, we verify manually, and we self-review to better understand the generated code. We cannot still ship fast, since piles of MRs are accumulated for review, and we heavily (and correctly) rely on senior ones to review before you get the confidence level to push.
So how can you help a senior dev to review your things faster, so you ship faster. The question is not to remove the review off the table here.

I updated my post to better ask my qeustion

1

u/alchebyte 13h ago

you have discovered the tectonic rift upon us.

1

u/Actual__Wizard 6h ago

What I am trying to say here, how can we really expedite our shipping?

Just barf out code with some AI model and ship it, you won't be in business very long, but you will get exactly what you're asking for. Okay?

Did you ever think that maybe the answer is really simple: You don't do that...

0

u/rezakhan0 15h ago

What I am trying to say here, how can we really expedite our shipping? In other words, if we develop code so fast with Claude, we write the tests, we verify manually, and we self-review to better understand the generated code. We cannot still ship fast, since piles of MRs are accumulated for review, and we heavily (and correctly) rely on senior ones to review before you get the confidence level to push.
So how can you help a senior dev to review your things faster, so you ship faster. The question is not to remove the review off the table here.

0

u/[deleted] 16h ago

[deleted] — view deleted comment

2

u/baddymcbadface 16h ago

Fast shipping is not the objective.

Fast enhancement is the objective.

You need certainty the product has been enhanced including the quality of the code.

In my industry we are regulated and all change requires a 4 eyes check so it's a straight No to the idea of waving AI code into prod.

We might get there, but we're not there yet.

2

u/rezakhan0 16h ago

I don’t mean no review. And I don’t mean we ship garbage. I am trying to say: no matter how fast you develop code with claude, somebody needs to review your code traditionally with no tool. The result is: same shipping speed

1

u/WiseHalmon 13h ago

If it got to the reviewer with fewer issues and concise code and pretty much every question can be answered by reviewing the code, then the result is not the same shipping speed

1

u/rezakhan0 13h ago

Imagine you as a reviewer had 2 PRs to review/daily until yesterday, today with Claude code and making code faster you get 20 PRs for review. What is the outcome?

2

u/WiseHalmon 13h ago

I get your point, but in my mind I'm jokingly saying, well that's good, somebody broke up the PRs into small chunks that are easier to review and so I can review them faster

1

u/WiseHalmon 13h ago

But you have a very loose argument here, and you didn't address my argument that the PRs should be of better quality for reviewing in general

1

u/Top_Voice2767 16h ago

Which is fine.

3

u/Top_Voice2767 16h ago

And why do you want to ship unreviewed so fast?

1

u/philipmather 16h ago

I agree with reviewing but I know the answer already: because the business is screaming to ahip faster, faster, now now NOW!

1

u/Puzzleheaded_Fold466 16h ago edited 16h ago

Sure, one factor is speed and productivity.

Another is quality.

How those are balanced against each other is an organization’s strategic decision.

If your organization has delegated that technical authority to these senior engineers, then it is their call.

3

u/Dalfchock 16h ago

Is this post written by ai because this guys really dumb lol šŸ˜‚Ā 

I just write code for fun and Claude and all the code ai often generate improper unsafe and wrong code. Oh yes I love having my website hacked in 1.3s flatĀ 

Ai isn’t quite there when it comes to coding video or anything really but it’s getting thereĀ 

2

u/Beli_Mawrr 16h ago

Its ragebait I think

1

u/Actual__Wizard 6h ago

Yeah it clearly is. They're just saying the exact opposite of what "makes logical sense to piss us off."

These tactics are so stupid and it's silly that we don't have human moderators anymore to clean up this garbage!

"How do we move the impossible to move object?" Answer: "You don't." Their response:"You don't understand what I'm saying, there's this object, and it's impossible to move, but we need to move it. So, how do we do that?"

2

u/mycolo_gist 16h ago

Science (and coding) progresses one funeral at a time. It's a generational change. In a few years we will blindly trust AI generated code.

1

u/rezakhan0 15h ago

What I am trying to say here, how can we really expedite our shipping? In other words, if we develop code so fast with Claude, we write the tests, we verify manually, and we self-review to better understand the generated code. We cannot still ship fast, since piles of MRs are accumulated for review, and we heavily (and correctly) rely on senior ones to review before you get the confidence level to push.
So how can you help a senior dev to review your things faster, so you ship faster. The question is not to remove the review off the table here.

2

u/MaestroGena 16h ago

The current bottleneck is code review instead of writing code - and that's because human still must do it because while AI is not reliable yet to be completely trusted.

We integrated AI to write code and other agents do reviews, even when they can catch like 80% of mistakes, the final results must be evaluated by human because it sometimes over complicated things or even make mistakes

1

u/rezakhan0 15h ago

Claude augmented coding means piles of PR for review. The question is how do we really expedite shipping here

26

u/Top_Voice2767 16h ago

Of course you need to carefully review and understand code generated by AI.

Do you want to loose control of your codebase?

5

u/Antitzin 16h ago

I use AI to help my with some codes, but it helps me, I am not using it to make all the code. And even so, I don’t trust it enough to copy/paste… as soon as it gives me some code, i review it and if I understand it and its correct, I use it.

In that way when i need to do a mod in production, I know where to look at.

1

u/NewAgain13579 16h ago

You are SO CLOSE to getting it by the end of your ramble when you say ā€œmaybe they are right.ā€

ā€œNear perfect promptā€ isn’t perfect. You aren’t perfect. AI isn’t perfect. Of course you need to check it. Of course it’s smart to protect the business.
And if you can’t understand the output in a way to explain it, you shouldn’t be in the role that creates the input.
You can’t possibly be very experienced if you think otherwise.

1

u/rezakhan0 15h ago

What I am trying to say here, how can we really expedite our shipping? In other words, if we develop code so fast with Claude, we write the tests, we verify manually, and we self-review to better understand the generated code. We cannot still ship fast, since piles of MRs are accumulated for review, and we heavily (and correctly) rely on senior ones to review before you get the confidence level to push.
So how can you help a senior dev to review your things faster, so you ship faster. The question is not to remove the review off the table here.

1

u/King-of-Harts 16h ago

Human-in-the-loop. What I'm hearing here is that best practices are being followed. You are still being productive, and they are doing their job.

1

u/rezakhan0 15h ago

What I am trying to say here, how can we really expedite our shipping? In other words, if we develop code so fast with Claude, we write the tests, we verify manually, and we self-review to better understand the generated code. We cannot still ship fast, since piles of MRs are accumulated for review, and we heavily (and correctly) rely on senior ones to review before you get the confidence level to push.
So how can you help a senior dev to review your things faster, so you ship faster. The question is not to remove the review off the table here.

1

u/mjmvideos 13h ago

Let me ask you this. When the seniors review your code, how often do they have comments and request changes versus simply grant approval?

1

u/rezakhan0 12h ago

rare asks, they are spending lots of time to understand and to prove things are fine. I have already tested, provided test proof: unit tests, intgeration tests, regression tests passed, static analysis fine. Comments on how this works etc. Reviewing is still slow since same approaches

3

u/Inside_Armadillo491 16h ago

"near perfect prompt and context" is doing a lot of heavy lifting in that sentence. What happens on the days it's just pretty good?

3

u/Puree-Cucumber 16h ago edited 16h ago

I’ll explain it slowly.

AI is built on statistical error reduction, not error elimination. Your entire function is to prevent errors from reaching production.

You have a fundamental misunderstanding of the tool you’re using nor do you understand the reason you’re using it. You shouldn’t be left unsupervised.

Your seniors are keeping you from getting fired.

2

u/llothar 16h ago

If you are delivering binaries, you trust the compiler - because it is technology trusted to do it correctly. Humans anyway would do a worse job.

Abstracting from the actual reality, AI for many is not there yet. And I think this is, today, an absolutely valid opinion to have. Will it change in some years, or months? I am sure of it.

2

u/Choperello 16h ago edited 16h ago

If you can't explain how the code you produced works and what it does you have zero bussiness making a claim of "put together high quality code with Claude Code (with near perfect prompt and context)". Maybe it is maybe it isn't but YOU have no idea and can't make any guarantees, and technically speaking you don't add much value to the process.

And I say this as a staff eng who does use claude non-stop. The number of times I have seen Claude produce "technically correct" and yet totally wrong direction and architecture solution code is more then I can count, and yes that includes thew newest fable and opsu5-5 and all that.

> IĀ have already tried training to help them understand things but no use.Ā 

to help them understand... what exactly?

2

u/justaguyonthebus 14h ago

Give it time. You are already significantly faster. Understanding what you are submitting is a really low bar. The Sr developer needs to see that you aren't letting poor decisions or bad code through .

The next step here is to add some code review agents that checks for all the professionalism and security and other obvious stuff first so the Sr dev can mostly focus in on the decisions and assumptions.

What you can do in the short term is submit more high quality code merge requests that are simpler so they are quicker to understand and review. And just flooded them with a sunami of work until they crack under the pressure. Even better if you start doing code reviews and leaving comments on others. Even if you can't approve it, you can provide your feedback.

2

u/alchebyte 13h ago

this is going to fracture orgs in addition to the silos AI is creating. humans are in for a hell of a ride :|

1

u/Snicklefraust 16h ago

People are going to make more money by advertising that they dont use AI when designing. The only people who trust ai like this are chugging down the kool aid, thats why theyre skeptical.

1

u/MadDonkeyEntmt 16h ago

It's a case by case question imo.Ā  If your whole company is built around this piece of software or it's really critical software then you should be reviewing code.

If we're talking about some place that pumps out apps or websites or just some internal tool that's nice to have you can probably get away without review.

1

u/Beneficial_Tank1765 16h ago

had a senior dev reject a 200-line api wrapper because it used claude's async pattern, said 'no one writes code like this anymore.' turned out he was right, it broke the legacy auth layer.

1

u/rodrigo-benenson 16h ago

Is this not exactly the difference between Senior and Junior?

Start by targetting your agents to finding bugs in existing codebase. This will make the product better, and help grow confidence in the tool for the rest of the team.

1

u/Actual__Wizard 7h ago

Now you as an experienced engineer, and now an AI Engineer put together high quality code with Claude Code (with near perfect prompt and context), which has test cases and self explains itself. You are now just hyper productive with AI.

Okay, so we're making stuff up that has nothing to do with reality. Okay...

Now the senior engineer sees you produce massive amount of code in minutes and does not trust AI and asks you to explain the code, the way they do.

Okay, so reasonable and normal behavior?

To me it is a show stopper. To them, they want to protect the product and the customers and the company.

You need to exit the tech industry immediately and learn about how business works.

1

u/Dalfchock 1h ago

Try to get out of the price to the ground game as quick as possible it sucks so much ass more margin makes thing run way smootherĀ 

-6

u/LettuceSea 16h ago

Leave the company. So long as those people control the software direction and strategy, the company you work for will die in short order.

0

u/SpeakCodeToMe 16h ago

Lol. Companies whose engineers actually review and understand the code will die?

I'll have what this guy is smoking.

0

u/LettuceSea 16h ago

Ahh yes, because code review is something that definitely needs to be manual. You all are so fucking far behind I’m genuinely speechless.

0

u/SpeakCodeToMe 14h ago

Don't worry little one, when you have some experience under your belt, you'll understand.

Sometimes you just have to step on the rake a few times before you learn to pick it up.

0

u/Beli_Mawrr 16h ago

If the code goes into the codebase unreviewed the company you work for will die in short order... if OP is in charge that will be what happened. So 10/10 suggestion

1

u/LettuceSea 16h ago

Implying the code needs to be manually reviewed like this when automated code review tools that statistically are FAR better than any human at code review is insane. They have existed for well over a year now, where have you been?

This just proves that you have no idea what you’re talking about. By comparison, humans write slop code and are shit reviewers, internalize this now.

0

u/[deleted] 16h ago

[deleted] — view deleted comment

0

u/mjmvideos 12h ago

So, not a senior dev then…