[REBOL] Re: object funnies
From: lmecir:mbox:vol:cz at: 23-Oct-2001 23:30
> I'd like to ask you to what choices you refer,
> > > Better have default to global, at least you know that you'll have
> > > to be carefull not to spill words into the global context.
My preferences are:
1) (Default to global) words 'if and 'true shall not be local in:
[if true [true]]
and in similar situations
2) (Default to local) we need local words sometimes. The most convenient
Rebol method for local word definition is as follows:
make object! [a: 1]
We do not need to specify what shall be local in this case, do we? Moreover,
this proves, that the "default to global" rule has got exceptions.
3) I think, that a suitable mix of these two may be the best solution, which
may work even without the need to have USE or /LOCAL