Skip Navigation

AI isn’t ready to replace human coders for debugging, researchers say

44 comments
  • They really want to enforce that quote. The cleverly as possible part doesn’t really apply. Let the idiot write the code and the more experienced person debug it. I feel like we’ve seen this with airline pilots already. Huge shortage mainly caused by retirement and regulation changes making it harder to get into the field. I guess their hope is by the time that happens with programmers AI doesn’t suck.

    At least this won’t be true anymore.

    • I occasionally check what various code generators will do if I don't immediately know the answer is almost always wrong, but recently it might have been correct, but surprisingly convoluted. It had it broken down into about 6 functions iterating through many steps to walk it through various intermediate forms. It seemed odd to me that such a likely operation was quite so involved, so I did a quick Internet search, ignored the AI generated result and saw the core language built-in designed to handle my use case directly. There was one detail that was not clear in the documentation, so I went back to the LLM to ask that question and it gave the exact wrong answer.

      I am willing to buy that with IDE integration or can probably have much richer function completion for small easy stuff I know to do and save some time, but I just haven't gotten used to the idea of asking for help on things I already know how to do.

      • I've found the same thing.

        Whenever I ask an LLM for a pointer, I end up spending just as long (if not longer) refining the question than just figuring it out myself it's doing a search on SO it in other online resources.

        But even the IDE integration is getting annoying. I write a class with some functionality baked in, and the whole time it's promoting me with a shit load of irrelevant suggested code. I get the class done, then I go to spin up a unit test. It knows which class I'm trying to create a unit test for, which is cool. But then the suggested code is usually completely wrong or it's much more convoluted than it needs to be. In the latter case, the first several characters of the suggested code is good, but then there's several lines after it of shite. And hitting tab injects all of it in, which then requires me to delete it all. So almost every time I end up hitting escape anyway.

        I've heard a few people rave about 'vibe coding' - usually people with no or little programming experience. I have to assume that generated code was either for very simple atomic actions and/or it's spaghettified, inefficient garbage.

44 comments