Home

Design By Contract


Every software element should define a contract that governs its interaction with the rest of the software components.

A contract should address the following three questions:

A contract should be, * Declarative and must not include implementation details. * as far as possible: precise, formal, and verifiable.

DbC in Inheritance