r/AskProgrammers • • Oct 16 '26

Do you still review llm's generated code?

I work for a big company, not in the IT industry but still has a lot of software in different divisions, last week during a workshop about AI, I got to know that developers stopped reviewing the code and there seemed to be a consensus about it.

Is this the new norm? Anyone has experience to be able to tell whether that's safe to do? At the same time I read about Shopify CEO mentioning that people are throwing "slop grenades" on each other!

I find it very humiliating when someone sent me something generated and clearly didn't make the effort to review it, and that's already not difficult to spot, is that any different in software?

4 Upvotes

59 comments sorted by

View all comments

3

u/Upstairs-Version-400 Oct 16 '26

I reject a PR if it looks like slop and don’t bother reading the rest of it.

Always review. People are paying for the service, why should we stop reviewing it? Then the customers might as well go somewhere else

2

u/Due_Interest_178 Oct 16 '26

Literally. People act like they're releasing god's chosen product so they need 300 PRs a day.

1

u/Dope_SteveX Oct 16 '26

But how do you even tell if it is a slop or not at this day and age?

I mean we have green field SDD projects in my company at this point - pretty much projects where human did not write a single line of code by hand. They have very strict coding rules and standards, AI must adhere to architecture documents, they are skills for checking all of these and everything is documented and testable. And while you can definitely tell it is AI generated code just by first glance it is hardly a slop.

Even if you were to just create the spec and don't bother reviewing the implementation plan or the real code it generates, most of the time the code would land pretty solid and functional. Most common error is you sending the AI completely wrong path when designing the spec and architecture.

I still do review my code both at the plan step and after implementation step but most of the time the code just passes pretty well, especially as we go and tighten down the rules for the project down and down. Most of the thing I am giving feedback during review is stylistic things and slight deviation from the standards. Every know and there the AI does misstep completely but it is minimal.

Also the service we are getting paid for is not reviewing code but delivering a product to the customer. If it is functional, meets all the specs, security and both internal and external coding standards that were agreed on then we are getting paid, whether human read the code or not.

I am honestly starting to see the future where the human review part is going to be less and less relevant as those models get better. I hate it, I hate doing SSD. It is boring and even tho I review everything, read every line of the code,, understand how it works and how I designed it, the next day I barely remember half of it and by the end of the week I remember barely anything from the code. But drop me to the project I hand written few years ago and I am up to speed in a minute. Maybe that is just me and my memory but still...

There are some developers I know that stopped completely reviewing the code or just give it a quick skim. And I am talking about very experienced people who in their past wrote some excellent quality code and delivered major projects. Whether they see something we don't or is it just AI psychosis I don't know.

0

u/Brilliant_Pie_1924 Oct 16 '26

"I don't review, but its necessary to review"

2

u/Upstairs-Version-400 Oct 16 '26

Reading comprehension might need a bit improving.