發(fā)現(xiàn)錯(cuò)誤是好事
(轉(zhuǎn)載請(qǐng)注明來源于金慶的專欄)
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è)計(jì)時(shí)發(fā)現(xiàn)錯(cuò)誤總比在編碼編譯時(shí)發(fā)現(xiàn)好。 在編碼編譯時(shí)發(fā)現(xiàn)錯(cuò)誤總比在單元測(cè)試中發(fā)現(xiàn)好。 在單元測(cè)試中發(fā)現(xiàn)錯(cuò)誤總比在調(diào)試中發(fā)現(xiàn)好。 在調(diào)試中發(fā)現(xiàn)錯(cuò)誤總比在系統(tǒng)測(cè)試中發(fā)現(xiàn)好。 在系統(tǒng)測(cè)試中發(fā)現(xiàn)錯(cuò)誤總比讓用戶發(fā)現(xiàn)好。 讓用戶發(fā)現(xiàn)錯(cuò)誤總比沒有用戶好。
Powered by: C++博客 Copyright © 金慶