this post was submitted on 25 Aug 2024
328 points (92.5% liked)

Technology

59174 readers
2961 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 45 points 2 months ago (2 children)

Good luck debugging AI-generated code...

[–] [email protected] 14 points 2 months ago (1 children)

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.

[–] [email protected] 18 points 2 months ago (1 children)

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.

[–] [email protected] 9 points 2 months ago

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.

[–] [email protected] 9 points 2 months ago

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.