It does seem to me that as of right now, AI is better at coding than most human coders if we just measure the success rate against some specific, well-defined, relatively simple test.
But in the past, talented coders used to make a large number of micro-decisions that they'd discover and decide while implementing any non-trivial feature. Making those decisions well was an important part of the job, and led to good software. It was also a somewhat rare skill.
I don't think AI writes "good software" in that sense, yet.
My concern is that, as of right now, the approach you suggest:
> Later I'll prompt "remove the dependency to python" it'll just do it.
Is actually not that efficient, because it means you're deferring all those micro-decisions to later, and constantly churning through some half-broken state of the program.
I'm not so naive as to suggest that this issue is somehow fundamental to AI; I'm just concerned about what is happenign right now and asking myself what the best way forward is.
If so: so it depends on you to be aware of the need?
With respect, I think this is soon going to be considered a legacy view. Humans invented coding patterns so that other humans could maintain the code. AI coding agents don't have our restricted ability in this respect and can happily understand and rewrite what humans consider complete messes of code bases.
They will write code in a way that they understand and over time they'll get better and better at writing and maintaining large codebases in a way that suits them best.
You only have to care if a human needs to read and modify the code by hand, and that won't be the case.
I know a lot of coders hate this, but in my opinion, this is just how it will be.
OTOH the LLMs reached a state where they can get really useful if one is willing to put the "babysitting" effort in.