Hacker News new | ask | show | jobs
by john2x 1276 days ago
It's semi-replaced Google and StackOverflow for me. It's like having an interactive rubber duck https://en.wikipedia.org/wiki/Rubber_duck_debugging
1 comments

I try to use it like this sometimes but then I realise I now have two problems. I have to debug my own code and its code.
it can usually debug itself if you give it an error message
Assuming the problem with the code causes an error message. That’s actually the easier case - the hard case is incorrect logic but syntactically ok.
It's surprisingly good at helping figure out what went wrong. Try asking it "something went wrong and I'm not sure what. What should we try next?"