[REBOL] Re: [REBOL]Panel Problems - not sharing sub-objects
From: arolls::bigpond::net::au at: 27-Jun-2001 19:31
> I'll copy this exchange to Feedback as (at the very least) it needs
> mentioning in some documentation-----I can't be the only one out
> there who
> has spent a long time puzzling over this.
No, you aren't. :)
> And mabe a better soluton is a facet/Vid word that says "don't
> clone items
> for this face), eg:
>
> layout [mybox1: box unique blue mybox2: box red]
>
> So Mybox1 has all its own data objects without my having to specify them.
>
> Thanks again,
> --Coiln
Surely you mean: "don't -share- items for this face".
Not a bad idea. I just wouldn't use 'unique, because it's
taken already. Perhaps 'clone, or 'share-not? :)
However, once you get used to the system,
you see it is quite efficient. You only
have to clone sub-objects when you need
to.
I see if it is easy to clone heirarchys
of objects then beginners will find it
easier to create very memory-inefficient
programs rather than learn how the system
works and make efficient ones.
Anton.