logoalt Hacker News

Fire-Dragon-DoLtoday at 4:32 AM1 replyview on HN

I haven't reduced my thinking! Today I asked AI to debug an issue. It came with a solution that it was clearly correct, but it didn't explain why the code was in that state. I kept steering AI (which just wanted to fix) toward figuring out the why and it digged through git and github issue at some point,in a very cool way. And finally it pulled out something that made sense. It was defensive programming introduced to fix an issue somewhere else, which was also in turn fixed, so useless.

At that point an idea popped in my mind and I decided to look for similar patterns in the codebase, related to the change, found 3. 1 was a non bug, two were latent bugs.

Shipped a fix plus 2 fixes for bugs yet to be discovered.


Replies

throwerxyztoday at 6:45 AM

>I haven't reduced my thinking!

You just detailed an example of where you did in fact reduce your thinking.

Managers who tell people what to get done do not think about the problem.

show 1 reply