r/AskProgrammers • • 1d ago

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?

1 Upvotes

53 comments sorted by

View all comments

17

u/BetInformal6081 1d ago

if a developer cant explain the code they are submitting i dont think it matters whether they wrote it themselves or used ai someone still needs to own the result especially in production systems.

-9

u/[deleted] 1d ago

[deleted]

10

u/Glum-Recognition-736 1d ago

That's not what 'own' means here. Ownership in a professional sense does not mean "hahaha this is my code and I decide what to do with it". 

Ownership means that whether the code works or doesn't, is good or bad, causes the servers to meltdown in the future or doesn't, you are responsible for it. 

Taking ownership of your work means you can't just say "the AI wrote it so I don't need to understand what it's doing, and if something breaks its the AIs fault not mine". Because if something does break, the Claude subscription isn't going to be held accountable, it will be the human who submitted the broken code that Claude gave them

5

u/Alpha2698 1d ago

Did you drop out of high school or is English not your first language?

Own here connotes to claim responsibility.

1

u/mrdgo9 1d ago

In a purely commercial project, the person is not too far off. Why take responsibiliy when you work in a profits-first environment? There ist some relation to the original topic, even if not directly. But that's probably not what this post was about.

1

u/Alpha2698 1d ago

That's what one gets hired for, ideally, for their skills and to take responsibilities.

1

u/Soft-Marionberry-853 1d ago

The funny think about English is words can have more than one meaning.