Re: Sounds awful
Now - yes, 100% - I agree we aren't there.
But models like this WILL evolve and improve - remember for starters of course that LLM's being non-deterministic isn't strictly true - they have been seeded that way to give the illusion of creativity, but there's no particular reason that a model couldn't be trained on only "good" programming practices - in fact I'd fall off my chair if there weren't a hundred different organisations already trying exactly that.
Given that the vast majority of code that's still out there at the moment has been crafted to the best of our collective ability, and given that daily news stories prove that much of it is as full of holes as the proverbial Swiss cheese, a tool that could iteratively figure out the best way to achieve a result, whilst avoiding all known pitfalls, and adding to "collective" knowledge as it goes, sounds at least as good a way forward to me as the path we would be on without it.
And for sure - "ask Ai to fix it", you say with scorn, I say why not? Take this code, figure out where it's broken, and come up with a solution - rinse, repeat, until it's not broken anymore. Even then take it a stage further: "do this without using these dependancies", "make this run more efficiently" etc etc
For a real-world example, just look back at El Reg only yesterday
So why not give it a try a see where it leads?