Advanced OOP: Multimethods (O'ReillyNet)
[Posted May 30, 2003 by cook]
David Mertz
covers multimethods on O'Reilly.
"
Most popular object oriented languages take their method
dispatch styles from
Smalltalk's message passing style, dispatching based on the invocant.
Another approach is multiple dispatch or multimethods, which considers
multiple invocants for dispatch. Why is this important? David Mertz
explains how multimethods improve polymorphism and often provide a better
alternative to inheritance."
(
Log in to post comments)