On Oct 21, 2:03 pm, buda <[email protected]> wrote:
> About not using such pattern - I agree if only few methods need to access
> _privates, but what if an object has about 10 or more methods that
> manipulate _privates!? make them all per instance?

It depends entirely on how many instances you expect to have. If
thousands, enable function reuse (I just tend to use a naming
convention rather than true private variables); if dozens, probably
just go ahead and duplicate the methods.
--
T.J. Crowder
Independent Software Engineer
tj / crowder software / com
www / crowder software / com

-- 
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to