Newsgroups: comp.lang.smalltalk
Path: cantaloupe.srv.cs.cmu.edu!nntp.club.cc.cmu.edu!hudson.lm.com!news.pop.psu.edu!psuvax1!uwm.edu!msunews!netnews.upenn.edu!netaxs.com!cellar!steveb
From: steveb@cellar.org (steve beuret)
Subject: Newbie Question - Usual ways of doing things.
Organization: The Cellar electronic community and public access system
Date: Sat, 07 Jan 95 20:58:14 EST
Message-ID: <RB8kyc2w164w@cellar.org>
Sender: bbs@cellar.org (BBS user account)
Lines: 20

Hi,  I'm just getting my feet wet in Smalltalk, and was wondering...
Would it be within the realm of standard Smalltalk programming practices to
have an application which creates new classes as part of it's normal
operation?

I'm thinking of a program that keeps track of a large number of "things",
that are instances of a lesser number of "kinds".  The exact features of
these kinds cannot be predicted in advance.  I'd like to provide the user
with some kind of interface that lets them design a new "vital statistics
card" for each kind that comes along.  That info would create a subclass of
some more generic class. 

The motivation for doing this is that a lot of the info describing a thing
is applicable to all things of a kind - i.e. more class variables than
instance variables.  Am I making sense?  Thanks.

steveb@cellar.com

                -- Steve Beuret -- steveb@cellar.org
                   "I read the news today oh boy."
