Hacker News new | ask | show | jobs
by xen0 667 days ago
Sometimes when writing 'fiddly' code, I'll have a bug.

But I can't find the bug. I get the wrong answers but can't trace it through the logic.

Maybe it's a dumb thing like a missing index increment? Or a missing assignment and I just can't see it.

Maybe it's easier to just tear down the mess and write it again.

This is how I feel whenever I deal with AI generated code.