MULTIPLE DISPATCH AS DISPATCH ON TUPLES

Citation
Gt. Leavens et Td. Millstein, MULTIPLE DISPATCH AS DISPATCH ON TUPLES, ACM SIGPLAN NOTICES, 33(10), 1998, pp. 374-387
Citations number
36
Categorie Soggetti
Computer Science Software Graphycs Programming","Computer Science Software Graphycs Programming
Journal title
Volume
33
Issue
10
Year of publication
1998
Pages
374 - 387
Database
ISI
SICI code
Abstract
Many popular object-oriented programming languages, such as C++, Small talk-80, Java, and Eiffel, do not support multiple dispatch. Yet witho ut multiple dispatch, programmers find it difficult to express binary methods and design patterns such as the ''visitor'' pattern. We descri be a new, simple, and orthogonal way to add multimethods to single-dis patch object-oriented languages, without affecting existing code. The new mechanism also clarifies many differences between single and multi ple dispatch.