I agree with what you’re saying in general, but most code out there doesn’t need to be high quality. There is no reason for anyone to design a web page manually in 2026 for example, AI will do it faster and cheaper than any human can dream of. And the code itself is incapable of causing issues, it’s just markdown/css. However even for high-quality code, if you look at benchmarks the top models produce higher quality code than the majority of devs.
As for losing understanding of our code, I agree but I suppose it’s the price to pay for productivity. Besides, it’s not like I understand Joe’s 30 years old ugly code any better than if AI had written it. At least AI has the decency to include comments.