you are viewing a single comment's thread
view the rest of the comments
[–] 3 points 2 months ago (1 child)

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...

  • source
  • parent
  • hideshow 2 child comments
  • [–] 4 points 2 months 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.

  • source
  • parent