roto-Scripty] Re: private methods/variables declaration
>
> Super, I like the word "shared". I'll keep an eye not to have any
> state in the private block :-)
>
> cheers
>
> --
> mona
> [EMAIL PROTECTED]
>
> On Mon, Nov 17, 2008 at 4:23 PM, kangax &l
Super, I like the word "shared". I'll keep an eye not to have any
state in the private block :-)
cheers
--
mona
[EMAIL PROTECTED]
On Mon, Nov 17, 2008 at 4:23 PM, kangax <[EMAIL PROTECTED]> wrote:
>
> On Nov 17, 4:13 am, "Mona Remlawi" <[EMAIL PROTECTED]> wrote:
> [...]
>> I'm wondering if this
On Nov 17, 4:13 am, "Mona Remlawi" <[EMAIL PROTECTED]> wrote:
[...]
> I'm wondering if this is a good practice. Are there any insights that
> i should be aware of? Are the private methods/functions being
> duplicated for each of myclass instance?
If what you need is to create private static ("cla
Hi Mona,
> Are the private methods/functions being
> duplicated for each of myclass instance?
No, there is a single copy of each private variable and private
method, contained within the outer closure, which is referenced by
public methods you define because they, too, are closures. That means