Newsgroups: comp.lang.smalltalk
Path: cantaloupe.srv.cs.cmu.edu!bb3.andrew.cmu.edu!nntp.sei.cmu.edu!news.psc.edu!hudson.lm.com!godot.cc.duq.edu!newsfeed.pitt.edu!gatech!howland.reston.ans.net!nntp.crl.com!pacbell.com!amdahl.com!netcomsv!uucp3.netcom.com!slcgate!servio!news
From: cohenb@slc.com (Bruce Cohen)
Subject: Re: How to create a new class which has nil as superclass ...?
In-Reply-To: Christopher Page's message of 21 Aug 1995 13:46:40 GMT
Message-ID: <COHENB.95Aug25130546@topdog.slc.com>
Lines: 18
Sender: news@slc.com (USENET News)
Nntp-Posting-Host: topdog
Reply-To: cohenb@slc.com
Organization: GemStone Systems, Inc.
References: <412jpf$7t7@acad1.tp.ac.sg> <41a2o0$kqb@fileserver.mpi.com>
Date: 25 Aug 1995 20:05:46 GMT

In article <41a2o0$kqb@fileserver.mpi.com> Christopher Page <page@mpi.com> writes:
>> Sounds like a typo to me.  You get so many things from Object that
>> your new class needs in order to do anything meaningful.  I'd love to
>> hear the reasons why you wouldn't want to subclass Object.

An example: 
You want a MessageForwarder object whose job is to send any messages not
known to it on to some other object.  This sort of thing is used in
remote and distributed object systems, in implementing flexible
delegation within an object space, and in building interface objects for
encapsulated frameworks.  You really don't want all the Object baggage
for this, because almost all behavior will be in some other object.

-- 
-----------------------------------------------------------------------------
Bruce Cohen, GemStone Systems, Inc.              |   email:  cohenb@slc.com
15400 NW Greenbrier Pkwy, Suite 280              |   phone: (503)690-3602
Beaverton, OR USA 97006                          |   fax: (503)629-8556
