3 ms·
Yes! I've been saying this forever -- debugging is a science. The best way to find and fix the toughest heisenbugs is to a) form a hypothesis as to what might
by iainmerrick 10y ago
Yes! I've been saying this forever -- debugging is a science.
The best way to find and fix the toughest heisenbugs is to a) form a hypothesis as to what might be happening, b) figure out what would falsify your hypothesis, c) run an experiment that must make the bug happen reliably iff your hypothesis is correct, and finally d) figure out the solution.
Steps a-c are precisely the scientific method.
- inimino 10y agoExactly. Debugging is just the application of the scientific method (or rationality) to a specific domain. I have been beating this drum for years now...