Multiple Dispatch as Dispatch on Tuples

  title={Multiple Dispatch as Dispatch on Tuples},
  author={Gary T. Leavens and Todd D. Millstein},
Many popular object-oriented programming languages, such as C++, Smalltalk-80, Java, and Eiffel, do not support multiple dispatch. Yet without multiple dispatch, programmers find it difficult to express binary methods and design patterns such as the "visitor" pattern. We describe a new, simple, and orthogonal way to add multimethods to single-dispatch object-oriented languages, without affecting existing code. The new mechanism also clarifies many differences between single and multiple… CONTINUE READING
Highly Cited
This paper has 48 citations. REVIEW CITATIONS


Publications referenced by this paper.
Showing 1-2 of 2 references

Object-Oriented Multi-Methods in Cecil

ECOOP • 1992
View 11 Excerpts
Highly Influenced

The Dylan Reference Manual: The Definitive Guide to the New Object-Oriented Dynamic Language

Andrew Shalit
View 5 Excerpts
Highly Influenced

Similar Papers

Loading similar papers…