this post was submitted on 01 Sep 2026
237 points (90.7% liked)

Technology

87742 readers
3480 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 news or articles.
  3. Be excellent to each other!
  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, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] CaptPretentious@lemmy.world 5 points 4 hours ago (1 children)

In my experience, the code AI generates, can be VERY bad. Like, sure it might work, assuming it didn't randomly hallucinate and decide to randomly change a variable name half way through for no reason. But it'll be a code base only AI can read. It looks like the spaghetti code I wrote when I first started learning. I've watched people build up massive documents to help guide the AI and it still crap out a mess.

If you know how to code, and you know exactly what it needs to do, and you manage to contain it... it can produce code that's fine. But if you're not a SME in the language, libraries, frameworks, etc... and you just let AI do whatever, it's garbage-in garbage-out. But because the computer did it, because AI did it, people just implicitly trust it. Despite the warnings and general knowledge that AI will make mistakes.

AI has really shown how and why so many people fall for obvious lies on social media.

[โ€“] MangoCats@feddit.it 2 points 2 hours ago* (last edited 2 hours ago)

The real problem with "bad" AI code is that it compiles, without errors or warnings. It passes all the unit tests. It passes all the integration tests. At least it will if you tell it to keep iterating until it does. Some days that may be a spaghetti mess, some days that's all you need.

If you develop a modular architecture with sufficiently fine grained modules, the spaghetti comes in managable portions.