10 ms·
> I would also say debugging is the punishment for your mistakes,and oh boy it can be extremely punishing. Well…not always. I actually like debugging, especial
by saagarjha 7y ago
> I would also say debugging is the punishment for your mistakes,and oh boy it can be extremely punishing.
Well…not always. I actually like debugging, especially when the bug isn’t mine and I’m not in too much of a rush. Diving into a completely new codebase, trying to make sense of the behavior and come up with ways to infer things through the lens the tooling gives you, and finally zeroing in on the problematic code and sending a patch can be quite satisfying. It’s even better when you learn something new and have a good war story to tell about it. (The message was being forwarded through what?! You can do that?!)
- dntbnmpls 7y ago> especially when the bug isn’t mine and I’m not in too much of a rush. Worry-free debugging. That's the life. Also, it's always great to be the one handing out the dunce cap rather than the one wearing it.
- saagarjha 7y agoThere’s no need to pull out a dunce cap every time you debug; many times the bug is complicated enough that you feel great finding it but can’t fault the person who wrote the code.