Verna, Didier
2008-05-23
<p>Implementing binary methods in traditional object-oriented languages is difficult: numerous problems arise regarding the relationship between types and classes in the context of inheritance, or the need for privileged access to the internal representation of objects. Most of these problems occur in the context of statically typed languages that lack multi-methods (polymorphism on multiple arguments). The purpose of this paper is twofold: first, we show why some of these problems are either non-issues, or easily solved in Common-Lisp. Then, we demonstrate how the Common-Lisp Object System (CLOS) allows us not only to implement binary methods in a straightforward way, but also to support the concept directly, and even enforce it at different levels (usage and implementation).</p>
https://doi.org/10.5281/zenodo.3248977
oai:zenodo.org:3248977
eng
Zenodo
https://zenodo.org/communities/els
https://doi.org/10.5281/zenodo.3248976
info:eu-repo/semantics/openAccess
Creative Commons Attribution Non Commercial No Derivatives 4.0 International
https://creativecommons.org/licenses/by-nc-nd/4.0/legalcode
ELS 2008, 1st European Lisp Symposium, Bordeaux, France, May 22-23, 2008
Binary methods, Common Lisp, object orientation, meta-programming
Binary Methods Programming: the CLOS Perspective
info:eu-repo/semantics/conferencePaper