Rahul Sharma (Editor)

The Art of the Metaobject Protocol

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
8.6
/
10
1
Votes
Alchetron
8.6
1 Ratings
100
90
81
70
60
50
40
30
20
10
Rate This

Rate This

Publication date
  
July 30, 1991

ISBN
  
0-262-61074-4

Page count
  
345

4.3/5
Goodreads

Pages
  
345

Originally published
  
30 July 1991

Publisher
  
MIT Press

The Art of the Metaobject Protocol t2gstaticcomimagesqtbnANd9GcS8Tp89C9F3Fbb1EU

Authors
  
Gregor Kiczales, Daniel G. Bobrow

Similar
  
Common Lisp books, Computer Science books

The Art of the Metaobject Protocol (AMOP) is a 1991 book by Gregor Kiczales, Jim des Rivieres, and Daniel G. Bobrow (all three working for Xerox PARC) on the subject of metaobject protocol. It contains an explanation of what a metaobject protocol is, why it is desirable, and the de facto standard for the metaobject protocol supported by many Common Lisp implementations as an extension of the Common Lisp Object System, or CLOS. A more complete and portable implementation of CLOS and the MOP, as defined in this book, was provided by Xerox PARC as Portable Common Loops.

The book presents a simplified CLOS implementation for Common Lisp called "Closette", which for the sake of pedagogical brevity does not include some of the more complex or exotic CLOS features such as forward-referencing of superclasses, full class and method redefinitions, advanced user-defined method combinations, and complete integration of CLOS classes with Common Lisp's type system. It also lacks support for compilation and most error checking, since the purpose of Closette is not actual use, but simply to demonstrate the fundamental power and expressive flexibility of metaobject protocols as an application of the principles of the metacircular evaluator.

In his 1997 talk at OOPSLA, Alan Kay called it "the best book anybody's written in ten years", and contended that it contained "some of the most profound insights, and the most practical insights about OOP", but was dismayed that it was written in a highly Lisp-centric and CLOS-specific fashion, calling it "a hard book for most people to read; if you don't know the Lisp culture, it's very hard to read".

References

The Art of the Metaobject Protocol Wikipedia