I second this. Even OpenAI's flagship models... the code I write by hand has much less entropy and is easier to follow than the equivalent AI-generated code. I think part of the software engineering skill now is knowing which pieces you can delegate to AI and which still need human input. I know many people who just YOLO it all and have AI do everything... but, this can hardly make for a stable system in my opinion...
And, I'll be happy to be proven wrong, because it will mean a significant amount of work is off of my shoulders. But I think we aren't quite there yet in terms of having AI code that lowers the complexity instead of raising it in a codebase.
> Why are you looking at the code? Complexity? What do you care? Let the agent handle that.
Because when I don't look at the code, bad things happen. Outages, customer data is deleted, security issues.
I can hear the reply: "Why not let agents review the code?" - that's true, but at some point my boss is going to hold me responsible, and I'm going to have to answer for it. Both ethically and practically speaking I have to make the responsible engineering decision and actually own my actions.
I no longer really check the code, but I won't let any of them touch the database schemas. I modify the schema, the machine codes around my database. Same policy with APIs, even private ones.