Nested Mixin-Methods in Agora

作者: Patrick Steyaert , Wim Codenie , Theo D’Hondt , Koen De Hondt , Carine Lucas

DOI: 10.1007/3-540-47910-4_12

关键词:

摘要: Mixin-based inheritance is an technique that has been shown to subsume a variety of different mechanisms. It based directly upon incremental modification model inheritance. This paper addresses the question how mixins can be seen as named attributes classes same way objects, methods, and also in their own right, are classes. The general idea let class itself have control over it extended. results powerful abstraction mechanism construction hierarchies two ways. Firstly, by being able constrain hierarchy; secondly, extend specific for class. Nested direct consequence having attributes. scope rules nested discussed, preserve encapsulation objects.

参考文章(13)
Lynn Andrea Stein, Henry Lieberman, David Ungar, A shared view of sharing: the treaty of Orlando Object-oriented concepts, databases, and applications. pp. 31- 48 ,(1989) , 10.1145/63320.66470
Peter Wegner, Stanley B. Zdonik, Inheritance as an Incremental Modification Mechanism or What Like Is and Isn't Like european conference on object-oriented programming. ,vol. 322, pp. 55- 77 ,(1988) , 10.1007/3-540-45910-3_4
P. A. Buhr, C. R. Zarnke, Nesting in an object-oriented language is not for the birds european conference on object-oriented programming. ,vol. 322, pp. 128- 145 ,(1988) , 10.1007/3-540-45910-3_8
Suresh Jagannathan, Gul Agha, A Reflective Model of Inheritance european conference on object oriented programming. pp. 350- 371 ,(1992) , 10.1007/BFB0053046
William Cook, BOF on inheritance Addendum to the proceedings on Object-oriented programming systems, languages and applications (Addendum) - OOPSLA '87. ,vol. 23, pp. 41- 42 ,(1987) , 10.1145/62138.62143
Kevin J. Lang, Barak A. Pearlmutter, Oaklisp: an object-oriented scheme with first class types conference on object oriented programming systems languages and applications. ,vol. 21, pp. 30- 37 ,(1986) , 10.1145/960112.28701
David Ungar, Randall B. Smith, Self: The power of simplicity Conference proceedings on Object-oriented programming systems, languages and applications - OOPSLA '87. ,vol. 22, pp. 227- 242 ,(1987) , 10.1145/38765.38828
O. L. Madsen, B. Moller-Pedersen, Virtual classes: a powerful mechanism in object-oriented programming Conference proceedings on Object-oriented programming systems, languages and applications - OOPSLA '89. ,vol. 24, pp. 397- 406 ,(1989) , 10.1145/74877.74919
James Hendler, Enhancement for multiple-inheritance Sigplan Notices. ,vol. 21, pp. 98- 106 ,(1986) , 10.1145/323648.323748