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.
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.
Good luck debugging AI-generated code…
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.
They think it will be easier than having people write the code from scratch. I don’t know shit about coding but I know that’s definitely not right.
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.