- Taschenbuch: 288 Seiten
- Verlag: Addison Wesley (1. Januar 1989)
- Sprache: Englisch
- ISBN-10: 0201175894
- ISBN-13: 978-0201175899
- Größe und/oder Gewicht: 15,2 x 2,3 x 23,1 cm
- Durchschnittliche Kundenbewertung: 2 Kundenrezensionen
- Amazon Bestseller-Rang: Nr. 228.985 in Fremdsprachige Bücher (Siehe Top 100 in Fremdsprachige Bücher)
Object-Oriented Programming in Common LISP: A Programmer's Guide to Clos (Englisch) Taschenbuch – 1. Januar 1989
Wird oft zusammen gekauft
Kunden, die diesen Artikel gekauft haben, kauften auch
Es wird kein Kindle Gerät benötigt. Laden Sie eine der kostenlosen Kindle Apps herunter und beginnen Sie, Kindle-Bücher auf Ihrem Smartphone, Tablet und Computer zu lesen.
Geben Sie Ihre E-Mail-Adresse oder Mobiltelefonnummer ein, um die kostenfreie App zu beziehen.
Mehr über den Autor
No Object-Oriented Programming in Common LISP Read a customer review or write one .
Welche anderen Artikel kaufen Kunden, nachdem sie diesen Artikel angesehen haben?
Die hilfreichsten Kundenrezensionen auf Amazon.com (beta)
And this book is an excellent way to get acquainted with the features of CLOS. While the introduction suggests non-Lispniks can benefit from reading this book, I would strongly suggest you can read Lisp to make sure you understand what's going on. It's a quick read (about 220 pages, excluding the appendices), the language is unfussy and clear, and the concepts are simply explained.
The hoary old shape example is used briefly (perhaps it wasn't as tired in 1989), but the two main examples used in the book is a simple locking mechanism for concurrency, and multiple inheritance based disk and tape stream classes. Both example do the job well of highlighting the unique flavour of CLOS. The metaobject protocol is touched upon only briefly, but there's more than enough of the standard object protocol described for you to be getting your money's worth.
Other introductory books do cover CLOS (Practical Common Lisp has a good chapter), but this is a very nice standalone volume devoted to CLOS only. Well worth reading, object (and Lisp) fans.
It doesn't get into examples that are of _spectacular_ complexity, either in size or in difficulty of concept, but that strikes me as being just fine. The dialect of CLOS in use predates the final version that was released, so a few examples require a little modification to work with modern Lisp releases.
If you're looking to get into the sophistication of redefining your own metaobject protocols, the MOP book is surely more suitable. But for most of us who just need to figure out what CLOS is good for, this book provides a very nice presentation of that.
For anyone interested in OO programming in Common Lisp, this is an essential book.
Even if you are interested in OO programming in general, this book covers a different approach, so it is nice for a comparison (in CLOS, methods do not belong to classes, and there are lots of interesting tricks that you can do that are not possible in other languages).
This book concisely tours through the features of CLOS, generic dispatch, method qualifiers (before/after) and how to modify the generic dispatch that comes built in with CLOS! Python may have meta-classes, but without a MOP one can not modify how methods are dispatched in a portable way.
A must if you are serious about Common Lisp. Don't let Paul Graham's infamous attempt to pass his own ignorance as the ignorance of others discourage you, CLOS is not a crutch for developers of lesser languages but a powerful tool that is a testament of the power of Lisp and the residue of a better world that never was.