2 ms·
I really disagree with this approach to debugging It's a good approach if every run of your code is very slow or very expensive, but if you can iterate quickly
by bluefirebrand 1mo ago
I really disagree with this approach to debugging
It's a good approach if every run of your code is very slow or very expensive, but if you can iterate quickly by running the code it's way more effective to try to reproduce and narrow it down that way
I think you've been doing your juniors a disservice
- GrinningFool 1mo agoLogs are great. Interactive debugging is great. Both of these can also help build an understanding of the code and systems involved. But they're just debugging tools, and they should rarely be /required/ to find a bug. I am teaching the more fundamental skill: how to (learn to) think through the problems and the systems in a way that lets log files be a useful tool instead of the only option.