r/TechLeader • • 3d ago

Senior developers insisting on reviewing code made by claude

/r/ArtificialInteligence/comments/1yaxcm2/senior_developers_insisting_on_reviewing_code/

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 do you do?
I have already tried training to help them understand things but no use. Maybe they are right in some ways?

--

edit to make sure I transfer the idea better:
Protecting the company, the customers and code is the goal. The review is a must. 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 Upvotes

19 comments sorted by

5

u/Dependent-Guitar-473 3d ago

How dare they ask you to explain the code you want to push to production

0

u/rezakhan0 3d ago

I don’t have a problem explaining how it works in a high level. But what regression tests do here then?

3

u/stagedgames 3d ago

regression tests ensure that future changes do not break existing features. they do not ensure that the code works as expected, performantly, without side effects or unexpected vulnerabilities or backdoors or loopholes. They don't ensure that your feature advances the product

1

u/rezakhan0 3d ago

The review is a must. 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/stagedgames 3d ago

moving slower is a feature, not a bug. You cannot move faster than you can understand, and you cannot understand faster than you can process. Stop focusing on velocity.

0

u/rezakhan0 3d ago

I know there are good coverage and I am adding new ones for the fresh code

1

u/stagedgames 3d ago

coverage is not an objective and it's a bad metric for teams that need some kind of metric.

I'm going to assume that you're operating in good faith and say that you need to learn a lot about the history and rationale for software engineering practices and not just read on what is "best practice"

1

u/Treble_brewing 3d ago

Tell me you are a deeply inexperienced developer without telling me you’re inexperienced. 

1

u/Dependent-Guitar-473 3d ago

Regression tests to ensure no previous behaviour was broken do not say anything about the implementation (performance, scalability, DRY).

Believe it or not, even using AI, you should still reuse existing implementations and write code that scales.
and you can't say that your code scales if you can't explain it.

I probably can't change your mind.
But they are Seniors for a reason; they are not dinosaurs, as you are trying to portray them

2

u/rco8786 3d ago

> To them, they want to protect the product and the customers and the company.

You might want to consider what your actual job is and how it fits into a broader context. You phrase this as though protecting the product, the customer, and the company is somehow NOT the goal of your work?

Claude writes good code, my team uses it almost exclusively. And we're looking for ways to automate code review for some classes of PR.

But the level of trust you seem to have in claude because your "near perfect" prompt, whatever that means, is pretty misguided as of writing. Claude makes mistakes all the time. And beyond that, you still need to be responsible for the code you push to production -which means you need to know how it works.

1

u/rezakhan0 3d ago

This is a great one. Protecting the company, the customers and code is the goal. The review is a must. 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/Treble_brewing 3d ago

Claude writes good code, that compiles and passes all the tests. But is it the right code. This is what a lot of junior developers fail to grasp. Just because the build is green doesn’t mean the job is done. 

6

u/AnnualReview2383 3d ago

I wouldn't hire a developer who didn't insist on reviewing code generated by Claude.  

You called the code 'high quality'.  How do you know it is high quality without the review? 

4

u/greebly_weeblies 3d ago

I think the implications is 'because Claude said so'. They had near perfect prompt AND context.

3

u/AVBforPrez 3d ago

They also put make no mistakes in the prompt, so it's gotta be super high quality

2

u/greebly_weeblies 3d ago

Well yeah, otherwise it's gonna hallucinate some shit. 

That is the foundation of any good prompt, best prefixed with "pretend you're a senior <> with 25 years experience, and a mother dying of cancer who is only going to be saved if you...".

1

u/Comfortable-Brick271 3d ago

This has gotta be bait

1

u/literally_iliterate 3d ago

You are almost there.

1

u/wwscrispin 3d ago

Depending on the model of your product, regressing prod is worse than releasing more slowly. After a couple years of a new process not breaking prod people are more accepting of it. It turns out that regardless of what a bunch of clueless executives think, velocity is often not the problem. Releasing software that works and does what the customer wants in a trustworthy manner is generally of more value.

There is a counter argument for fail-fast when doing a startup and you do not have any or many customers yet.