Article View: comp.lang.clos
Article #277Why CLASS-PROTOTYPE at all? (was Re: class prototypes
From: Len Charest
Date: Sat, 07 Nov 1992 00:45
Date: Sat, 07 Nov 1992 00:45
20 lines
1536 bytes
1536 bytes
In article <9211052256.AA05389@thelonius.mitre.org>, john@linus.mitre.org writes:
|> This discussion seems to assume that the class-prototype is NOT
|> identical to a user-created instance.
Maybe some of the designers of PCL and/or CLOS could shed some light on the
origin and history of CLASS-PROTOTYPE. I'd like to know specifically why the
language should be responsible for creating and maintaining 'prototypes'. Why
can't application programs do this as needed? Indeed, I might like to say
something like
(setf (class-prototype my-class) my-instance)
|> Of course, the prototype is often (usually?) needed BEFORE the user
|> instantiates a class.
Needed by CLOS or needed by the programmer? I'd guess the former.
..................................................
Len Charest, Jr.
JPL Artificial Intelligence Group
charest@aig.jpl.nasa.gov
Technical Details
Message-ID:
<1992Nov7.004540.10184@jpl-devvax.jpl.nasa.gov>Path:
arc1-ca.pugleaf.net!sparky!uunet!ukma!wupost!sdd.hp.com!elroy.jpl.nasa.gov!ufo!Aig.Jpl.Nasa.Gov!charestReferences:
<9211052256.AA05389@thelonius.mitre.org>Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.clos Path: arc1-ca.pugleaf.net!sparky!uunet!ukma!wupost!sdd.hp.com!elroy.jpl.nasa.gov!ufo!Aig.Jpl.Nasa.Gov!charest From: charest@Aig.Jpl.Nasa.Gov (Len Charest) Subject: Why CLASS-PROTOTYPE at all? (was Re: class prototypes Message-ID: <1992Nov7.004540.10184@jpl-devvax.jpl.nasa.gov> Sender: usenet@jpl-devvax.jpl.nasa.gov (For NNTP so rrn will be able to post) Nntp-Posting-Host: ai-cyclops Reply-To: charest@aig.jpl.nasa.gov Organization: NASA/Jet Propulsion Laboratory References: <9211052256.AA05389@thelonius.mitre.org> Date: Sat, 7 Nov 1992 00:45:40 GMT Lines: 20