[REBOL] Re: [ A world of words ] naming convention, namespace, namespace pollu
From: greggirwin:mindspring at: 3-Jun-2003 10:02
Hi Volker,
VN> Marc, why do you need privates?
...
VN> for informal privates a convention should do. real protection makes
VN> debugging harder.
A convention is good. As a lot of us know from working with VID, you
don't have any idea what is supposed to be private, or what the "true"
public interfaces are in many cases.
Also, while I agree that private data can make debugging harder, it
can also be said that the lack of a protection mechanism can also make
debugging harder because there is no way to guarantee encapsulation,
which means any piece of code can change things so you can't rule
anything out.
In any case, I think REBOL gives us the tools we need to do things in
lots of different ways. I went through much the same process Marc is
when I found REBOL (trying to find ways to do things I've done in
other languages). Now I don't try to make REBOL work like other
languages, I try to look at how to design and build things in the
context of how REBOL works.
-- Gregg