this post was submitted on 25 Aug 2024
328 points (92.7% liked)
Technology
59982 readers
2835 users here now
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related content.
- Be excellent to each another!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, to ask if your bot can be added please contact us.
- Check for duplicates before posting, duplicates may be removed
Approved Bots
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Good luck debugging AI-generated code...
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.
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.