[DGD] Clarifying private and static function classes
Matt Tolton
matt at tolton.com
Fri Jul 3 21:20:30 CEST 2009
On Fri, Jul 3, 2009 at 4:51 AM, Felix A. Croes<felix at dworkin.nl> wrote:
>> This seems to differ from other LPC dialects [1], where private does
>> not protect against call_other.
>
> Suppose that objects A and B both have a private function "foo". C
> inherits both A and B. What function does call_other(C, "foo") call?
If I understand correctly, in DGD that would not call any function and
just return nil. In other LPC dialects, I don't know. Mind if I ask
what you're getting at here?
Would you mind describing exactly what static and private mean in DGD,
just so I'm clear (and for posterity's sake)?
Thanks,
Matt
More information about the DGD
mailing list