[REBOL] Re: UHURU unit structure
From: g:santilli:tiscalinet:it at: 30-May-2001 13:55
Joel Neely wrote:
> > Or just:
> >
> > make-module [
> >
> > ; *every* set-word found here will be made "local"
> >
> > ]
> >
> > make-module/global [a b c] [
> >
> > ; *every* word except 'a, 'b and 'c is "local"
> >
> > ]
> >
> > It wouldn't be too difficult to implement IMHO.
>
> I'm willing to start with convention, and then figure out if we
> need the extra layer in the implementation. I'd rather keep the
> list of dependencies as small as possible, at least at first.
I agree. It's just that a user might feel safe not to trash the
global context because he's inside an object, but this is not
true. If we really want to avoid name clashes then we have to do
that (thin) extra layer; otherwise, we're leaving all up to the
user, just exactly as it is now --- which is not necessarily bad,
but which was not our objective, was it?
Regards,
Gabriele.
--
Gabriele Santilli <[giesse--writeme--com]> - Amigan - REBOL programmer
Amiga Group Italia sez. L'Aquila -- http://www.amyresource.it/AGI/