On Jan 2, 4:18 am, אריה גלזר <[email protected]> wrote:
> On Sun, Jan 2, 2011 at 11:09 AM, jemptymethod <[email protected]>wrote:
>
> > None of the code within the module closure executes outside of the
> > context of either the closure that set $private, or the closure that
> > returns $public.  Including the state, which can only be accessed via
> > private.
>
> excatly my point - what justification is there for a second level of hiding?

state should not be public.  $public can access it via $private, but
instances of Module cannot access it directly

-- 
To view archived discussions from the original JSMentors Mailman list: 
http://www.mail-archive.com/[email protected]/

To search via a non-Google archive, visit here: 
http://www.mail-archive.com/[email protected]/

To unsubscribe from this group, send email to
[email protected]

Reply via email to