411 REFERENCE · Wikibooks
Eiffel Programming/Design by Contract
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
Design by Contract
One of the central tenets in the design of the Eiffel language, Design by Contract is the notion that every class can explicitly place constraints on its inputs (its requirements), state what it will provide (what it ensures) and its invariants (statements that are always true for the class).
In addition, Eiffel supports a rich set of assertion statements, ranging from validation of a loop construct, to a flexible debug mechanism, to inline checks on code validity.
See also the Wikipedia article on Design by Contract