Contracts: Specifying Behavioral Compositions in Object-Oriented Systems

228Citations
Citations of this article
30Readers
Mendeley users who have this article in their library.

Abstract

Behavioral compositions, groups of interdependent objects cooperating to accomplish tasks, are an important feature of object-oriented systems. This paper introduces Contracts, a new technique for specifying behavioral compositions and the obligations on participating objects. Refinement and composition of contracts allows for the creation of large grain abstractions based on behavior, orthogonal to those provided by existing class constructs. Using contracts thus provides a basis and vocabulary for Interaction-Oriented design which greatly facilitates the early identification, abstraction and reuse of patterns of behavior in programs. Contracts differ from previous work in that they capture explicitly and abstractly the behavioral dependencies amongst cooperating objects. By explicitly stating these dependencies, contract also provide an effective aid for program understanding and reuse. © 1990, ACM. All rights reserved.

Cite

CITATION STYLE

APA

Helm, R., Holland, I. M., & Gangopadhyay, D. (1990). Contracts: Specifying Behavioral Compositions in Object-Oriented Systems. ACM SIGPLAN Notices, 25(10), 169–180. https://doi.org/10.1145/97946.97967

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free