r/ArtificialInteligence • u/rezakhan0 • 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?
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.
11
u/Default-Username-168 16h ago
No experienced engineer would rush code through without thorough review.
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/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.
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
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/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/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?
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
Okay, so we're making stuff up that has nothing to do with reality. Okay...
Okay, so reasonable and normal behavior?
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/[deleted] 16h ago
[deleted] ā view deleted comment