o_jmfq
Last Updated: February 25, 2016
·
494
· alexanderbrevig
Feb007acc38e70d57f7b4c205f7e8b26

Measurement changes behavior

Turns out Heisenberg was right for computer programs as well.
Watch out for heisenbugs, and before you try to fix a bug; toggle the state of your log system.

If a bug changes behavior when adding or removing printouts, check you timing constraints.

This leads to two conclusions:
a) You need a log system that is easy to turn on and off
b) Off means off, preferably unused code should not be compiled/called

PS: Adding a printout in order to fix a bug is not a fix ;)

Say Thanks
Respond