[DGD]checking inheritance

Felix A. Croes felix at dworkin.nl
Sat Aug 5 01:50:23 CEST 2000


"boris" <boris at locos.com> wrote:

>[...]
> Although it works I think it's rather ugly and inefficient way.
> This method has problems. Firstly, it requires that the object
> has a call_other() callable function, which not always is the case.
> Secondly, you must know the exact name of that function. If you
> rename or remove that function, this implementation will become
> a potential bug.
>
> So I wonder if there is a more elegant way of doing this in DGD-LPC ?

Check for the existance of a nomask function which has no other purpose
than being checked in this way.

Regards,
Dworkin

List config page:  http://list.imaginary.com/mailman/listinfo/dgd



More information about the DGD mailing list