Specifying Reusable Components Using Contracts

作者: Ian M. Holland

DOI: 10.1007/BFB0053043

关键词:

摘要: Contracts were introduced by Helm et al. as a high level construct for explicitly specifying interactions among groups of objects. This paper describes further developments and application the Contract construct. We show how can be used to represent classic algorithms large grained reusable object oriented abstractions, these customized through refinement they are reused conformance. The example algorithm throughout is graph depth first traversal algorithm. represented which then refined specify number connected regions graphs check cycles. Changes language we discuss some new problems resulting from simultaneous reuse related contracts.

参考文章(20)
Ralph E. Johnson, Brian Foote, Designing reusable classes Journal of Object-oriented Programming. ,vol. 1, pp. 22- 35 ,(1988)
Ramana Rao, Implementational Reflection in Silica european conference on object oriented programming. pp. 251- 267 ,(1991) , 10.1007/BFB0057026
Jens Palsberg, Michael I. Schwartzbach, Type substitution for object-oriented programming european conference on object oriented programming. ,vol. 25, pp. 151- 160 ,(1990) , 10.1145/97945.97965
Bertrand Meyer, Lessons from the design of the Eiffel libraries Communications of The ACM. ,vol. 33, pp. 68- 88 ,(1990) , 10.1145/83880.84464
T. Capers Jones, Reusability in Programming: A Survey of the State of the Art IEEE Transactions on Software Engineering. ,vol. SE-10, pp. 488- 494 ,(1984) , 10.1109/TSE.1984.5010271
W.L. Johnson, E. Soloway, PROUST: Knowledge-Based Program Understanding IEEE Transactions on Software Engineering. ,vol. SE-11, pp. 267- 275 ,(1985) , 10.1109/TSE.1985.232210
Ruben Prieto-Diaz, James M. Neighbors, Module interconnection languages Journal of Systems and Software. ,vol. 6, pp. 307- 334 ,(1986) , 10.1016/0164-1212(86)90002-6
M.A. Linton, J.M. Vlissides, P.R. Calder, Composing user interfaces with InterViews IEEE Computer. ,vol. 22, pp. 8- 22 ,(1989) , 10.1109/2.19829
Rebecca J. Wirfs-Brock, Ralph E. Johnson, Surveying current research in object-oriented design Communications of the ACM. ,vol. 33, pp. 104- 124 ,(1990) , 10.1145/83880.84526
S. Katz, C. A. Richter, PARIS: a system for reusing partially interpreted schemas international conference on software engineering. pp. 377- 385 ,(1987) , 10.5555/41765.41807