Except the dev that gets AI done in 5 hours will have a poorer mental model of the code. Whether that's important might or might not depend on whether that bites you in the ass at some point.
But does it matter?
If you write a program in Python or JavaScript, you have a terrible mental model for how that code is actually executed in machine code. It's irrelevant though, you figure it out only when it's a problem.
Even if you don't have a great mental model, now you have AI to identify the problems and generate an explanation of the structure for you.
Don’t really agree with this.
That dev is productive with AI precisely _because_ they have a good mental model.
AI like other tools is a multiplier - it doesn’t make bad devs good, but it makes good devs significantly more productive.