Good code has always been about simplicity, taste, and understanding.
If a human provides understanding and taste, they can elevate AI code to be good.
Likewise if an AI isn't well guided it won't understand, has no taste, and will generate overly complex code. AKA Slop.