With the improvements that AI has made in just the last year, it should be obvious to anyone that code written by an AI will at some point stop being "AI slop" and be better than the majority of coders are able to put out. Reduced to its basics, all code is just characters put into a sequence. Similar to chess or Go, both of which, it was claimed at one point or another, would be impossible for a computer to beat a human, until they did (chess 1997, go 2016), so computers will eventually produce better quality code than even a team of humans is capable of.
A genuine question : If an AI can reliably write code better than most coders, do it quicker, and produce code that runs efficiently which has less, or at least no more, bugs than human written code, why on earth would a company not use an AI to write all their code for most purposes?
And if they did, why is it important for that code to be 'elegant' or even human readable if the bug checking is also done by AI? (as seems to be the direction we are moving in)