Amazon cloud boss echoes NVIDIA CEO on coding being dead in the water: "If you go forward 24 months from now, it's possible that most developers are not coding"
AI is quite good at writing small sections of code. Usually because it's more or less just copying something off the internet that it's found, maybe changing a few bits around, but essentially just regurgitating something that's in its data set. I could of course just have done that but it saves time since the AI can find the relevant piece of code to copy and modify more or less instantly.
But it falls apart if you ask it to build entire applications. You can barely even get it to write pong without a lot of tinkering around after the fact which rather defeats the point really.
It also doesn't deal well if the thing you're trying to program for is not very well documented, which would include things like drivers, which presumably is their bread and butter.
That might actually be a good test for managers who think coders can be replaced by this. Have them try to make a working version of Pong using AI prompts.
Really simple. Just ask it to point out the error. Also maybe tell it how the code is wrong. And then hope that the new code didn't introduce new errors in formerly working sections. And that it understood what you meant. In a language that is inherently vague.