[REBOL] Q: Functions and the visibility of words
From: jhagman::infa::abo::fi at: 25-Apr-2001 2:39
Hi,
I have been playing with REBOL for a some time but I still am curious
about the word visibility scheme chosen by Carl.
When a word is definied inside a function it is visible also outside the
function (after the invication of the function) unless explicitly
specified local. This seems to be a different approach to most of the
other programming languages (at least that I know :).
The disadvantages are obvious, it is easy for the programmer to
introduce unwanted side-effects, but what are the advantages this scheme
introduces?
--
Jussi Hagman CS in Åbo Akademi University
Studentbyn 4 D 33 [juhagman--abo--fi]
20540 Åbo [jhagman--infa--abo--fi]
Finland