Hi Ladislav,
you wrote:
>There are two problems with your solution:
>
>a) it is relying on the persistence of func-1, func-2, ..., which is not
>garanteed now (problem with indefinite extent and garbage collector...)

Where do you take that from? func-1 and func-2 are both referenced by
do-something, which is defined and implemented outside of the use context
in the global object. Since when does REBOL's garbage collector ignore that?

>b) the uninherited functions can access only the ancestor's attributes and
>not the descendant's

That depends on your implementation.

>
>I think the only reliable method is to define the uninherited functions
>outside of the object and submit them one more parameter - the object to
>operate on.
>

Again you emphasize reliable. What makes you think that indefinite extents
are unreliable?

Elan

Reply via email to