Eiffel assertions and the external structure of classes and objects


Autoria(s): Horan, Peter
Data(s)

01/09/2002

Resumo

The “external structure” in an object oriented system refers here to the  graphs of objects and classes. The class structure graph or class model is derived from the object structure graph or object model, and in this operation structural information is lost, or never made explicit. Although object oriented programming languages capture the class model as declarations,  contradictory assumptions about object model properties may be made introducing faults into the design. Consistent assumptions about the object model can be specified in the code using assertions such as Eiffel’s  invariants, preconditions and postconditions. Three examples specifying the external structure are considered.<br /><br />

Identificador

http://hdl.handle.net/10536/DRO/DU:30001459

Idioma(s)

eng

Publicador

Chair of Software Engineering, ETH Eidgenössische Technische Hochschule

Relação

http://dro.deakin.edu.au/eserv/DU:30001459/n20020088.pdf

http://www.jot.fm/issues/issue_2002_09/article1.pdf

Tipo

Journal Article