Reading up on contracts
Posted: Sat Feb 09, 2008 10:53 pm
Cobra's support for contracts is modeled after Eiffel which, as far as I know, pioneered them as a language-level feature. Well okay, Bertrand Meyer pioneered them when he created Eiffel.
If you wish to learn more about them:
Check out the BlindWatchMaker1 sample. Be on the lookout for "require" and "ensure".
Read "Building bug-free O-O software: An introduction to Design by Contract (tm)"
Read "Design by Contract: The Lessons of Ariane"
As a sidenote, Bertrand wrote an interesting column on .NET in 2000,
"The significance of .NET"
Enjoy,
-Chuck
If you wish to learn more about them:
Check out the BlindWatchMaker1 sample. Be on the lookout for "require" and "ensure".
Read "Building bug-free O-O software: An introduction to Design by Contract (tm)"
Read "Design by Contract: The Lessons of Ariane"
As a sidenote, Bertrand wrote an interesting column on .NET in 2000,
"The significance of .NET"
Enjoy,
-Chuck