Re: Protected Protocol

2012-04-03 Thread David Bruant
Le 02/04/2012 17:59, Irakli Gozalishvili a écrit : Hi David, Your protected work reminds me a lot of what we did with `namespcase` module in jetpack: https://addons.mozilla.org/en-US/developers/docs/sdk/latest/packages/api-utils/namespace.html Which I also blogged about some time ago:

Re: Protected Protocol

2012-04-03 Thread Kris Kowal
On Tue, Apr 3, 2012 at 1:49 AM, David Bruant bruan...@gmail.com wrote: Le 02/04/2012 17:59, Irakli Gozalishvili a écrit : I remember that one of your complaints about namespaces was that inheritance was not supported. Do you think there is a workable middleground between namespaces and what

Re: Protected Protocol

2012-04-03 Thread David Bruant
Le 03/04/2012 17:00, Kris Kowal a écrit : On Tue, Apr 3, 2012 at 1:49 AM, David Bruantbruan...@gmail.com wrote: Le 02/04/2012 17:59, Irakli Gozalishvili a écrit : I remember that one of your complaints about namespaces was that inheritance was not supported. Do you think there is a workable

Re: Protected Protocol

2012-04-03 Thread Irakli Gozalishvili
On Tuesday, 2012-04-03 at 01:49 , David Bruant wrote: Le 02/04/2012 17:59, Irakli Gozalishvili a écrit : Hi David, Your protected work reminds me a lot of what we did with `namespcase` module in jetpack:

Re: Protected Protocol

2012-04-03 Thread Irakli Gozalishvili
Ah looks like Kris already pointed that out Regards -- Irakli Gozalishvili Web: http://www.jeditoolkit.com/ On Tuesday, 2012-04-03 at 08:00 , Kris Kowal wrote: On Tue, Apr 3, 2012 at 1:49 AM, David Bruant bruan...@gmail.com (mailto:bruan...@gmail.com) wrote: Le 02/04/2012 17:59, Irakli

Re: Protected Protocol

2012-04-02 Thread Irakli Gozalishvili
unsatisfied since relying on constructor arguments while it may not be always possible to do that. What I describe as the protected protocol is my response to my own challenge. Before explaining it, I'd like to take a step back and discuss about the object oriented properties of JavaScript. Two

Protected Protocol

2012-04-01 Thread David Bruant
that. What I describe as the protected protocol is my response to my own challenge. Before explaining it, I'd like to take a step back and discuss about the object oriented properties of JavaScript. Two expected properties of object-oriented languages are encapsulation and inheritance. Encapsulation