Comment by AndrewKemendo
2 days ago
100% concur with this as owner of multiple 20k+ LOC repos with between 10-30% unmodified AI code in production
If you treat it like a rubber duck it’s magic
If you think the rubber duck is going to think for you then you shouldn’t even start with them.
> 10-30% unmodified AI code in production
That is an interesting metric but I think it is not that important.
I would be careful with (AI-generated) code that no one at the team understands well. If that kind of code is put into production, it might become a source of dragging technical debt that no one is able to properly address.
In my opinion, putting AI-generated code to production is okay, as long it has been reviewed and there is a human who can understand it well, debug it and fix it if needed.
Or, alternatively, if it is a throwaway code that does not need to be understood well and no one cares about its quality or maintainability because it would not need to be maintained in the first place.
We understand it perfectly, which is why it went to production
I didn’t say it wasn’t reviewed, I said it was unmodified