[38] in Coldmud discussion meeting
Re: clear parameters
daemon@ATHENA.MIT.EDU (Tue Nov 16 19:16:40 1993
)
To: dougo@pure.com (Doug Orleans)
Cc: coldstuff@MIT.EDU
In-Reply-To: Your message of Tue, 16 Nov 93 16:03:19 -0800.
<199311170003.AA17964@pure>
Date: Tue, 16 Nov 93 19:07:23 EST
From: Greg Hudson <ghudson@MIT.EDU>
> I dunno how Cold does it; from the remarks Greg has made it I'm
> guessing that properties (data members, slots, whatever you want to
> call them) aren't inherited at all except at creation time, which
> means that it's like MOO before it had clear properties. I
> guess you can simulate clear properties with methods that lookup the
> parent tree manually if the property is equal to a certain
> out-of-band value (e.g. 'clear), but it seems like it would be
> nicer if there were some in-server way of doing this.
Variable values are not inherited in Coldmud, period. All object
variables have a default value of 0.
I do not think it would be "nicer" to have a more baroque variable
lookup system, notwithstanding people's reliance on it in MOO. As I
pointed out, such a variable lookup system damages encapsulation, and
can be done trivially in-db.
--GBH