From ... Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!opentransit.net!wanadoo.fr!teaser.fr!newsfeed.stueberl.de!newsfeed.vmunix.org!uio.no!nntp.uio.no!ifi.uio.no!not-for-mail From: Erik Naggum Newsgroups: comp.lang.lisp Subject: Re: How much use of CLOS? Date: 16 Oct 2002 04:20:23 +0000 Organization: Naggum Software, Oslo, Norway Lines: 23 Message-ID: <3243730823014910@naggum.no> References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: maud.ifi.uio.no 1034742023 17849 129.240.65.5 (16 Oct 2002 04:20:23 GMT) X-Complaints-To: abuse@ifi.uio.no NNTP-Posting-Date: 16 Oct 2002 04:20:23 GMT Mail-Copies-To: never User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Xref: archiver1.google.com comp.lang.lisp:43991 * 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 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.