Subject: Re: How much use of CLOS? From: Erik Naggum <email@example.com> Date: 16 Oct 2002 04:20:23 +0000 Newsgroups: comp.lang.lisp Message-ID: <firstname.lastname@example.org> * Peter Seibel | Because generic functions *can* be used on arguments that aren't | instances of classes? And what would those arguments be? You see, you labor under a serious delusion: The languages you think about is not /really/ object-oriented, but Common Lisp is. It is true for Java and C++ and lots of other "OO" languages that give you classes but do not give you objects all the way up that there can be objects that are not instances of classes and the very phraseology "instance of class" gives you away immediately. In Common Lisp, we have type hierarchies and system classes, such that for any object, (typep <object> t) is trivially true and the function `class-of´ is defined on all objects. (Please note that it is not a generic function.) Less premature judgment, more observation, please. -- Erik Naggum, Oslo, Norway Act from reason, and failure makes you rethink and study harder. Act from faith, and failure makes you blame someone and push harder.