this post was submitted on 15 Sep 2024
884 points (98.0% liked)

Technology

58115 readers
4389 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] 89 points 3 days ago (8 children)

Except it’s a computer writing the code that somebody probably ran once and said ‘looks good’ for their ‘happy path’ and committed it. So it’s inevitably probably full of weird edge case bugs…have fun.

[–] [email protected] 12 points 3 days ago (2 children)

AI code is not clever. It's all developers averaged. Even if it worked properly, you'd get average quality code.

It's rather lazy and cheap. This is where the quality is lacking.

[–] [email protected] 7 points 3 days ago (1 children)

Some of the JavaScript code I’ve seen I’d call ‘clever’ because it uses certain parts of the language that are technically in the spec or are just weird casting side effects that I hope no normal developer would actually use because it’s unreadable. I’m sure ‘somebody’ used it because the AI picked up on it but it’s not exactly something that should be replicated.

Some colleges are letting students use AI code to do their assignments. I’d expect that ‘average quality’ to get so much worse over time and I’m not sure the developers are going to be getting any better right along with it. They can continue to turn in work they probably don’t fully understand to begin with.

[–] [email protected] 2 points 2 days ago

I don't like the term "clever" in code, because sometimes it means "I'm too dumb to understand it". Simply don't touch clever code, unless you really understand it.

Best example is the fast inverse square root function in Quake. Yeah.. it's clever, but replace it by simple maths and let Quake have performance problems.

On the other hand, using AI for more than assisted coding is never clever. Some day some fuck will use it in medicine and will actually kill people. AI is not at fault here! It's the programmer who killed a patient in this case by being irresponsible and lazy.

load more comments (5 replies)