It also leaves the part of reviewing the code (which I have realised is really quite different skillset from writing code - it needs a sense of something is fishy here or why is this even here or can't this look better).
It may be obvious to conclude that good programmers are good reviewers but I think all variations exist. I wonder how many people don't like their jobs anymore because they don't like reviewing code written by AI.