Difference between revisions of "Talk:CPP/Debugging/Assert"

From ProgrammingExamples
Jump to: navigation, search
(Created page with 'I've heard that assert should be used only to test "contractual" function things. That is, in this example you have used it to verify a password, but that is more of a "runtime" …')
 
(No difference)

Latest revision as of 06:51, 29 June 2010

I've heard that assert should be used only to test "contractual" function things. That is, in this example you have used it to verify a password, but that is more of a "runtime" check than a "function contract" check. Any thoughts on this? Daviddoria 10:51, 29 June 2010 (UTC)