<HEAD><TITLE>discuss@charon: [844] in "Coldmud discussion meeting"</TITLE>
<H1>[844] in Coldmud discussion meeting</H1></HEAD>
<A HREF="/"><IMG SRC="/i-d.gif" ALT="root"></A>
<A HREF="?844"><IMG SRC="/i-back.gif" ALT="meeting"></A>
<A HREF="/help.html"><IMG SRC="/i-help.gif" ALT="help"></A>
<A HREF="1"><IMG SRC="/i-first.gif" ALT="first"></A>
<A HREF="843"><IMG SRC="/i-fref.gif" ALT="first in chain"></A>
<A HREF="843"><IMG SRC="/i-pref.gif" ALT="previous in chain"></A>
<A HREF="843"><IMG SRC="/i-prev.gif" ALT="previous"></A>
<A HREF="845"><IMG SRC="/i-next.gif" ALT="next"></A>
<A HREF="845"><IMG SRC="/i-nref.gif" ALT="next in chain"></A>
<A HREF="851"><IMG SRC="/i-lref.gif" ALT="last in chain"></A>
<A HREF="1641"><IMG SRC="/i-last.gif" ALT="last"></A>
<HR><H2>Re: inheritance</H2>
<H3>daemon@ATHENA.MIT.EDU (Thu Nov 30 15:53:30 1995
)</H3>
<PRE>
Date: Thu, 30 Nov 1995 13:33:09 +0000 ()
From: Brandon Gillespie &lt;brandon@tombstone.sunrem.com&gt;
To: coldstuff@tombstone.sunrem.com
In-Reply-To: &lt;Pine.LNX.3.91.951130153431.257A-100000@Green.ssnet.com&gt;

On Thu, 30 Nov 1995, Dave Wallace wrote:
&gt; I have noticed that children inherit their parents parameter names,but 
&gt; not the _values_ of these parameters, is there some way to have this 
&gt; without specificly initializing the child with $object.init_ and a bunch 
&gt; of functions to access the parent's values? This seems a little messy to 
&gt; me so perhaps there is something I am missing here.

Encapsulation.  MOO breaks encapsulation by allowing one to inherit 
values, which is incorrect.  Cold is simply more strict about it.  It 
does cause problems when trying to code designes based off the MOO model, 
but once you get used to how it works in relation to the Cold model, it 
is actually a nice addition.

-Brandon Gillespie
</PRE>
