mrfangzheng

Hope and fear are useless. Be confident, and always be prepared for the worst.
  首页  :: 新随笔  :: 联系 :: 管理

2010年3月29日

摘要: 编程其实是一项防御性质的工作, 因为写出错误代码的可能性远大于写出正确的代码- 做好Debug logging, 因为1)客户机没有debugger 2)bug总是出现在意想不到的地方- 做好自动化测试, 因为1)新代码出错的可能性远大于正确的可能性 2)测试操作会执行成百上千遍 阅读全文

posted @ 2010-03-29 17:51 mrfangzheng 阅读(192) 评论(1) 推荐(0) 编辑