To a large extent, statically typed languages are all about sprinkling simple tests throughout our code
I'm going to have to take you to task for that oversimplification later :-)
Separating a contract from its class is an interesting idea, and one that's been on my "think about" pile for a couple of years now. For example, it allows you to retrofit contracts onto an existing codebase - something that's non-trivial with Class::Contract.
Some food for thought:
I need to go finish my comments on the evil that is SWEBOK before midnight - maybe some more constructive comments later :-)
In reply to Re: Testing by Contract
by adrianh
in thread Testing by Contract
by Ovid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |