Sciweavers

ECOOP
1992
Springer

Object-Oriented Multi-Methods in Cecil

13 years 8 months ago
Object-Oriented Multi-Methods in Cecil
Multiple dispatching provides increased expressive power over single dispatching by guiding method lookup using the values of all arguments instead of only the receiver. However, existing languages with multiple dispatching do not encourage the dataion-oriented programming style that is encouraged by traditional single-dispatching languages; instead existing multiple-dispatching languages tend to foster a functionoriented programming style organized around generic functions. We propose an alternative multiple dispatching that is intended to promote a data-abstraction-oriented programming style. Instead of viewing a multi-method as "outside" of all objects, we view a multi-method as "inside" the objects for which the multi-method applies (on which it dispatches). Because objects are closely connected to the multi-methods implementing their operations, the internals of an object can be encapsulated by being accessible only to the closely-connected multi-methods. We a...
Craig Chambers
Added 10 Aug 2010
Updated 10 Aug 2010
Type Conference
Year 1992
Where ECOOP
Authors Craig Chambers
Comments (0)