[REBOL] Re: Private Object Function
From: g:santilli:tiscalinet:it at: 16-Jan-2001 19:36
Hello Elan!
On 15-Gen-01, you wrote:
E> how is this any ifferent from what you can do with the current
E> stable version (2.3)?
That makes 2.3 (and all the versions before latest experimental)
crash after a recycle.
E> The questions, however, remain. a) The protection can be
E> circumvented, in as much as I can use get-value's body to
E> access add-one as well as value. b) The object o cannot be
E> serialized together with the hidden words.
This is true. But it is not a problem usually. You're not trying
to protect secret code, you're just trying to avoid accidental use
of a word meant to be private; this is useful for team projects,
or to separate interface from implementation.
Regards,
Gabriele.
--
Gabriele Santilli <[giesse--writeme--com]> - Amigan - REBOL programmer
Amiga Group Italia sez. L'Aquila -- http://www.amyresource.it/AGI/