4 ms·
Totally agree. Print statements are windows to the programs internal state. They can be activated during specific times, under certain conditions, can group tog
by thirtyfivecent 4y ago
Totally agree. Print statements are windows to the programs internal state. They can be activated during specific times, under certain conditions, can group together information and values.... The name "print statement" does not do them justice , that is the problem i think, they are a conduit, a channel of symbols for peeking into the program
- josteink 4y agoSo can a debugger, except when you find something unusual, a real debugger will allow you to inspect things you didn't consider instrumenting, change variable-values, re-run code and validate assumptions. I just don’t see where this skepticism against specialised tools for tracking down bugs comes from.
- Dudeman112 4y ago>I just don’t see where this skepticism against specialised tools for tracking down bugs comes from Probably from the previous skepticism against print debugging. Every prevalent strong opinion in a social setting is eventually met with an equally strong opposite opinion in the same social setting.