On Wed, Oct 27, 2004 at 05:02:30PM -0400, Russell Gold wrote:
> I think the difference between TDD and DBC is where the assertions are
> located. My recollection may well be faulty, but I have the idea that
> DBC places assertions in the code itself, using them at runtime to
> verify that callers are obeying preconditions, and that methods called
> preserve invariants and obey postconditions.
> 
> TDD places assertions in external code, and relies on the need to
> satisfy those assertions to motivate the writing of the production
> code. It does not necessarily worry about preconditions and
> invariants, although it could.

Thanks! That helped a lot
-- 
Brad Appleton <[EMAIL PROTECTED]> www.bradapp.net
  Software CM Patterns (www.scmpatterns.com)
   Effective Teamwork, Practical Integration
"And miles to go before I sleep." -- Robert Frost


To Post a message, send it to:   [EMAIL PROTECTED]

To Unsubscribe, send a blank message to: [EMAIL PROTECTED]

ad-free courtesy of objectmentor.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/extremeprogramming/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to