DocumentCode :
1374795
Title :
Design by contract: the lessons of Ariane
Author :
Jazequel, J.-M. ; Meyer, Bertrand
Volume :
30
Issue :
1
fYear :
1997
fDate :
1/1/1997 12:00:00 AM
Firstpage :
129
Lastpage :
130
Abstract :
Design by contract is the principle that the interfaces between modules of a software system-especially a mission-critical one-should be governed by precise specifications. The contracts cover mutual obligations (pre-conditions), benefits (post-conditions), and consistency constraints (invariants). Together, these properties are known as assertions, and are directly supported in some design and programming languages. A recent $500 million software error provides a sobering reminder that this principle is not just a pleasant academic ideal. On June 4, 1996, the maiden flight of the European Ariane 5 launcher crashed, about 40 seconds after takeoff. The rocket was uninsured. The French space agency, CNES (Centre National d´Etudes Spatiales), and the European Space Agency (ESA) immediately appointed an international inquiry board. The board makes several recommendations with respect to software process improvement. There is a simple lesson to be learned from this event: reuse without a precise, rigorous specification mechanism is a risk of potentially disastrous proportions. It is regrettable that this lesson has not been heeded by such recent designs as IDL, Ada 95 or Java. None of these languages has built-in support for design by contract. Effective reuse requires design by contract. Without a precise specification attached to each reusable component, no-one can trust a supposedly reusable component. Without a specification, it is probably safer to redo than to reuse
Keywords :
aerospace computing; contracts; formal specification; rockets; safety-critical software; software reusability; special purpose computers; Ariane 5 launcher; CNES; Centre National d´Etudes Spatiales; ESA; European Space Agency; assertions; benefits; consistency constraints; design by contract; international inquiry board; invariants; mission-critical software; mutual obligations; post-conditions; precise rigorous specification mechanism; preconditions; reusable components; risk; software error; software module interfaces; software process improvement; software reuse; Computer crashes; Computer errors; Contracts; Delay; Documentation; Performance analysis; Protection; Software engineering; Software testing; System testing;
fLanguage :
English
Journal_Title :
Computer
Publisher :
ieee
ISSN :
0018-9162
Type :
jour
DOI :
10.1109/2.562936
Filename :
562936
Link To Document :
بازگشت