Directory | Tags | Index | LinkIt | Submit   | Help
    Wednesday, 17 September 2014 - anonymous
Login/Register to vote and to have access to more features

You are here: Root > Programming Languages > Common Lisp > Metaobject Protocol

Binary Methods Programming: the CLOS Perspective.
Created by didier on: Tue, 28 Apr 2009 08:00:19 GMT, Last modification: Tue, 28 Apr 2009 08:00:19 GMT

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).

Document location: http://www.lrde.epita.fr/~didier/research/publis.php#verna.08.jucs

Authors

Didier Verna

Tags

Metaobject Protocol | CLOS | C++ | Common Lisp | Papers | Learning | Information

0 Notes and 0 comments

0 Notes

You must be logged to add a note


0 Comments

You must be logged to add a comment