>The argument I see over and over is that unit testing is an
>acceptable and preferable alternative to contracts.  I'm not sure
>whether I agree.

Wouldn't DbC take care of this?

http://www.pragmaticprogrammer.com/ruby/downloads/dbc.html

I mean, I'm not going to pretend that I understand DbC, yet, despite 
having read PP, but if an interface is supposed to represent a 
contract, why not use real contracts in the code?

-austin
-- Austin Ziegler, austin / halostatue.ca on 2002.10.17 at 11.57.01