[244] in Coldmud discussion meeting
Re: temporary alternative for no clear_param)?
daemon@ATHENA.MIT.EDU (Tue May 17 22:28:48 1994
)
To: the Lyncx <BRANDON@cc.usu.edu>
Cc: coldstuff@MIT.EDU
In-Reply-To: Your message of Tue, 17 May 94 20:22:18 -0600.
<01HCGI9G9Y5UBWB7E1@cc.usu.edu>
Date: Tue, 17 May 94 22:26:48 EDT
From: Greg Hudson <ghudson@MIT.EDU>
> clear_parameter($defining_object, 'parameter)
> Which is called from the object that it is currently residing on.
> This would not break encapsulation, and it would fix what I see as a
> gaping wound in the side of ColdMUD.
This would break encapsulation: it allows you to set the value of a
ancestor's parameter.
If you want to implement this, make it a $sys-only method that takes
an object, a definer, and a parameter name. The system object can
then have a method which does clear_parameter(sender(), caller(),
name).
--GBH