[REBOL] Re: The truth about scope
From: andreas:bolka:gmx at: 13-Apr-2005 19:27
Thanks for your precise post Gabriele, much appreciated.
Wednesday, April 13, 2005, 1:01:08 PM, Gabriele wrote:
> Now, REBOL gives you the illusion of having something like a "scope"
> for "variables". This is just an illusion that is there because it
> is useful to let new users think that way. You don't have to learn
> all at once, but can learn one step at a time.
> Forget about scope and variables. Make your cup of tea empty, so
> that it can be filled again. :)
That's certainly just and true when learning REBOL and I wholly second
that recommendation.
But let me add another angle: In general, scope is always an
illusion
(or an explanatory concept, to use other words) which needs
to be implemented in one way or another. The point where REBOL differs
from most other languages is that you have language-level access to
the "scoping" implementation - via 'bind and friends.
--
Best regards,
Andreas