發(fā)現(xiàn)錯誤是好事
(轉(zhuǎn)載請注明來源于金慶的專欄)
It's better to catch a bug at design time than at coding/compile time. It's better to catch a bug at coding/compile time than during unit testing. It's better to catch a bug during unit testing than during debug system testing. It's better to catch a bug during debug system than in prerelease/beta system testing. It's better to catch a bug during prerelease/beta system testing than have your customer catch one. It's better to have your customer catch a bug than to have no customers.
--Matthew Wilson, Imperfect C++
在設(shè)計時發(fā)現(xiàn)錯誤總比在編碼編譯時發(fā)現(xiàn)好。 在編碼編譯時發(fā)現(xiàn)錯誤總比在單元測試中發(fā)現(xiàn)好。 在單元測試中發(fā)現(xiàn)錯誤總比在調(diào)試中發(fā)現(xiàn)好。 在調(diào)試中發(fā)現(xiàn)錯誤總比在系統(tǒng)測試中發(fā)現(xiàn)好。 在系統(tǒng)測試中發(fā)現(xiàn)錯誤總比讓用戶發(fā)現(xiàn)好。 讓用戶發(fā)現(xiàn)錯誤總比沒有用戶好。
Powered by: C++博客 Copyright © 金慶