| O. L. Madsen B. and B. Mller-Pedersen. Virtual Classes, A powerful mechanism in object-oriented programming. In Proc. of ACM Conf. on Object-Oriented Programming, Languages, and Systems, pp.397-406, ACM Press 1989. |
....to us an important enhancement to mixin based inheritance. In contrast with [Bracha Cook90] the mixin methods used in Agora remain untyped at the moment. The relation to nested classes [Buhr Zarnke88] Madsen87] has been discussed above. The correspondence between so called virtual superclasses [Madsen Mller Pedersen89] in BETA, and mixins has already been noted [Bracha92] The same remarks as in the previous paragraph apply to the relation between mixin methods and virtual superclasses. Agora was primarily designed as a prototype based language. Mixin based inheritance can also be applied to prototype based ....
O. L. Madsen B. and B. Mller-Pedersen. Virtual Classes, A powerful mechanism in object-oriented programming. In Proc. of ACM Conf. on Object-Oriented Programming, Languages, and Systems, pp.397-406, ACM Press 1989.
....Result from GraduatePattern. The solution takes advantage of Beta s unusual ability to nest classes in an arbitrary fashion, and redefine nested classes via inheritance. The approach taken here is closely related to Beta s use of nested patterns to represent genericity or procedures as parameters [49]. Support for mixins in Beta is not deliberate, however; until an early version of this work was circulated, no one, including Beta s designers, had investigated use of mixins in Beta [47] This explains why it is rather awkward to define a mixin in Beta. The idea that mixins can be treated as ....
....augment its type system, this could be supported, though it would be costly. Another distinction is that Beta identifies classes and types. This has the disadvantages mentioned in Chapter 2, but allows Beta to support type abstraction using the same virtual pattern mechanism used for inheritance [49]. Nested modules in principle also support the notion of class variables found in languages like Smalltalk. Class variables are variables shared by all instances of a class. A module that nests another module inside it, can serve as a factory [20] and produce initialized instances of the nested ....
Madsen, O. L., and Moller-Pederson, B. Virtual classes, a powerful mechanism in object-oriented programming. In Proc. of the ACM Conf. on Object-Oriented Programming, Systems, Languages and Applications (Oct. 1989), pp. 397--406.
Online articles have much greater impact More about CiteSeer.IST Add search form to your site Submit documents Feedback
CiteSeer.IST - Copyright Penn State and NEC