this post was submitted on 17 Jun 2026
101 points (97.2% liked)

Technology

85494 readers
4287 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
[–] naeap@sopuli.xyz 2 points 4 hours ago (1 children)

Sadly, that's true

Tried to refactor a spaghetti code state machine and thought, well, AI should handle this well. All the logic is there, just separate it into small functions to clean up the large one.

None was able to, alone because of the context window already

To be fair though, I tried Mistral online and it also stumbled around. ChatGPT was a complete clusterfuck - haven't tried Claude.

To be even fairer... it's a really large state machine, which was written on site during a fever and in stress - so... To defend myself a bit as well, how it even came to that ;⁠-⁠)

But seems, I'll need to go through this myself
Actually thought, that this would be a perfect example for using AI...

[–] BeigeAgenda@lemmy.ca 3 points 2 hours ago

Yeah LLM's can help with many tasks but then there are times they just spout nonsense, or syntactically correct nonsense, the model size and context window just changes when they hit their limit.

Sometimes you have to call it quits, and try another way.