2 ms·
> Without a debugger, you basically have to go the next step: understand what the program does. Not just that particular line. On the contrary, I find that a l
by saagarjha 8y ago
> Without a debugger, you basically have
to go the next step: understand what the program does. Not just that particular line.
On the contrary, I find that a lack of debuggers makes me lazy when performing this step: I’ll go “yeah, these lines of code remove the item from the list”, but then having no way to check that I get burned later when it turns out it actually did something subtly different than what I expected. I think he is right, though, that debuggers are not always the right tool for the job; occasionally they cannot produce relevant output (there might be too much too look at, of the part you are looking at is difficult to reproduce), so having these “big picture” skills are quite useful.