[REBOL] Re: Private words in objects?
From: greggirwin:mindspring at: 5-Jul-2006 10:16
Hi Alberto,
A> Somebody can clarify to me why rebol "objects" does not support
A> protected (read only) variables ?
REBOL was designed for building small systems, so choices like this
lean towards making things as simple as possible, and may also have
been due to implementation choices. REBOL 3 may offer something along
these lines, since a lot of people have come to expect it from OO
languages.
You *can* do it today, but it takes extra effort. I thought I would do
it a lot, once I figured out how (with the help of people here), but
I've never used it in a production system.
In your case, how would private words have helped? Did a word in an
object get reset accidentally?
-- Gregg