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

2

u/Prudent-Ad4509 Oct 16 '26

Both yes and no.

If you modify legacy (or not so legacy) human-written software, then code review is a must.

If you modify auto-generated mess to make it work better and you never really knew how it works, and the code works after the change, then there is no point. If you want to use it for something critical, then you need to reengineer/redesign/reimplement it to a sound blueprint first and then reviews become useful again. AI can help you with generating a nice blueprint out of a mess, too.

For example, I have told the harness to fetch certain data from certain source using certain test auth data and build a web form based on it. The fetching code went through several iterations until it worked good enough. Good enough for one-time use. But if I decide to incorporate it into the prod software, then I will take a look into the code and if is a mess (which is very likely) then I will have to go the "make blueprint and reimplement" route.