design by contract
noun
- A software design approach that prescribes formal, precise and verifiable interface specifications (contracts) with preconditions, postconditions, and invariants.
Origin
Coined by French computer scientist Bertrand Meyer.
Also called
contract programming, programming by contract
See also fluent interface Postel's law marker interface pattern dependency injection
Adapted from Wiktionary (CC BY-SA 4.0).