ABSTRACT
Inheritance and delegation are alternate methods for incremental definition and sharing. It has commonly been believed that delegation provides a more powerful model. This paper demonstrates that there is a “natural” model of inheritance which captures all of the properties of delegation. Independently, certain constraints on the ability of delegation to capture inheritance are demonstrated. Finally, a new framework which fully captures both delegation and inheritance is outlined, and some of the ramifications of this hybrid model are explored.
- Borning.Borning, A. H., "Classes Versus Prototypes in Object-Oriented Languages." .,4 CM/IEEE Fall Joint Computer Conference, November 1986. Google ScholarDigital Library
- Briot & Yonezawa.Briot, J., and A. Yonezawa. "Inheritance Mechanisms in Object-Oriented Concurrent Languages." Extended abstract. 1987.Google Scholar
- Cardelli & Wegner.Cardelli, L., and P. Wegner. "On Understanding Types, Data Abstraction, and Polymorphism." Computing Surveys, August 1986. Google ScholarDigital Library
- Goldberg & Robson.Goldberg, A., and D. Robson. Smalltalk-80: The Language and it8 Implementation. Addison-Wesley, 1983. Google ScholarDigital Library
- LaLonde.LaLonde, W. "An Exemplar Based Smalltalk." Proceedings of the First A CM Conference on Object-Oriented Programming Sy,~tems, Languages, and Applications, September 1986. Google ScholarDigital Library
- Lieberman.Lieberman, H. "Using Prototypical Objects to mplem'ent Shared Behavior in Object Oriented Systems." Proceeding8 o/ the First A CM Conference on Object-Oriented Programming Systems, Languages, and Applications, September 1985. Google ScholarDigital Library
- Stefik & Bobrow.Stefik, M, and D. Bobrow. "Object-Oriented Programming,: Themes and Variations." AI Magazine, December 1985. Google ScholarDigital Library
- Touretsky.Touretsky, D. The Mathematical Theory of Inheritance. Morgan-Kaufman, 1986. Google ScholarDigital Library
- Wegner & Zdonik.Wegner, P., and S. Zdonik. "Why Like isn't Like Isa." Brown University Technical Report, March 1987.Google Scholar
Index Terms
- Delegation is inheritance
Recommendations
Delegation is inheritance
Inheritance and delegation are alternate methods for incremental definition and sharing. It has commonly been believed that delegation provides a more powerful model. This paper demonstrates that there is a “natural” model of inheritance which captures ...
Delegation in role-based access control
User delegation is a mechanism for assigning access rights available to one user to another user. A delegation can either be a grant or transfer operation. Existing work on delegation in the context of role-based access control models has extensively ...
Comments