[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Couple of technical questions
- From: Björn De Meyer <bjorn.demeyer@...>
- Date: Tue, 18 Feb 2003 23:17:09 +0100
Benoit Germain wrote:
>
> It is not a problem for me, end users will be told not to use "__" to prefix
> their own variables. I have a hammer and baseball bat on my desk to enforce
> this :-)
>
Even more efficient is to have your __index and __newindex explicitly
check their arguments and refuse to set any key that begins with "__".
Twenty minutes of programming is much faster than twenty years in jail.
^_~
--
"No one knows true heroes, for they speak not of their greatness." --
Daniel Remar.
Björn De Meyer
bjorn.demeyer@pandora.be