News for hackers. Stuff that matters.
Re:Long Error Messages by tialaramex on Wednesday September 22, 2021 @01:58PM (#28619565)
Sometimes it has a pretty good idea.

Typo correcting is an excellent example of this. I don't want my program to compile and run if I wrote "taxis" when I meant "taxes". I want an error. Taxis is wrong. But if the diagnostic says "Did you mean taxes?" that's great because it calls attention to the most likely mistake.

I'd say if the machine has a suggestion that it knows would work (but could be wrong) it's better to mention what that suggestion is than keep silent, but it would be worse to just press on as if that's what you wrote.

There are no comments on this comment yet.