Road Pragmatic Programmer (v)

 

Good use of one of the editors

Editor should be an extension of your hand; make sure your editor is configurable, extensible, and programmable. My personal training method can be used without the mouse without a mouse.

To fix the problem, instead of issuing accusations

bug is your fault or someone else's fault, not really very relevant - it's still your problem, it still needs to be corrected. The courage to admit their mistakes, this is no.

Do not panic

Take a deep breath, think about what may be the cause of the bug. I remember the newly recruited team, I would often elusive, in particular, can not reproduce the bug fear, but looking carefully, you can still see the traces.

Design by contract

Build documents using contract, and test code does exactly what it is declared to do. Ordained that we want to pass a parameter types, quantities, parameters they write in comments, and agreed substandard processing.

Guess you like

Origin www.cnblogs.com/haheihei/p/12130260.html