The Devil's Guide to Debugging

来源:互联网 发布:罗斯柴尔德 知乎 编辑:程序博客网 时间:2024/04/29 08:25

1. Scatter output statements everywhere.

2. Debug the program into existence.

3. Never backup earlier versions.

4. Don't bother understanding what the program should do

5. Use the most obvious fix. Fix the symptom instead of the problem.


参考文献:《code complete》

原创粉丝点击