Re:
by john2x on Wednesday December 21, 2022 @04:54PM
(#34086887)
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
[ Parent
| on HN ]
Re:
by worldsayshi on Wednesday December 21, 2022 @04:58PM
(#34086922)
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.
Re:
by someguy101010 on Wednesday December 21, 2022 @05:06PM
(#34087004)
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.
Re:
by naderkhalil on Wednesday December 21, 2022 @05:14PM
(#34087106)
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?"