Re: Avoiding overloading the term “prototype”

2012-10-23 Thread Brendan Eich
Dean Landolt wrote: On Tue, Oct 23, 2012 at 11:53 AM, Brendan Eich > wrote: Herby Vojčík wrote: Brendan Eich wrote: Herby Vojčík wrote: By the way, let deprecate (that is, recommend not to use) __proto__

Re: Avoiding overloading the term “prototype”

2012-10-23 Thread John J Barton
On Tue, Oct 23, 2012 at 8:53 AM, Brendan Eich wrote: > I'm in the same boat. I see the attraction, very long run. Perhaps others > will weigh in. I guess very few developers off this list know that [[Prototype]] exists. That is, the special double square bracket syntax is not something developers

Re: Avoiding overloading the term “prototype”

2012-10-23 Thread Dean Landolt
On Tue, Oct 23, 2012 at 11:53 AM, Brendan Eich wrote: > Herby Vojčík wrote: > >> Brendan Eich wrote: >> >>> Herby Vojčík wrote: >>> By the way, let deprecate (that is, recommend not to use) __proto__ and introduce @parent (or other term) instead, while both having the same behaviou

Re: Avoiding overloading the term “prototype”

2012-10-23 Thread Brendan Eich
Herby Vojčík wrote: Brendan Eich wrote: Herby Vojčík wrote: By the way, let deprecate (that is, recommend not to use) __proto__ and introduce @parent (or other term) instead, while both having the same behaviour. We could do this, given symbols, but would it help? New code could use it in the

Re: Avoiding overloading the term “prototype”

2012-10-23 Thread Herby Vojčík
Axel Rauschmayer wrote: It wouldn’t fix the main problem with __proto__: using a property to express meta-data. In a way, __proto__ might even be better than, say, @proto, because it will be the only property with double underscore, highlighting the specialness of that property. Isn't iterato

Re: Avoiding overloading the term “prototype”

2012-10-23 Thread Herby Vojčík
Brendan Eich wrote: Herby Vojčík wrote: By the way, let deprecate (that is, recommend not to use) __proto__ and introduce @parent (or other term) instead, while both having the same behaviour. We could do this, given symbols, but would it help? New code could use it in the next several years

Re: Avoiding overloading the term “prototype”

2012-10-23 Thread Brendan Eich
Herby Vojčík wrote: By the way, let deprecate (that is, recommend not to use) __proto__ and introduce @parent (or other term) instead, while both having the same behaviour. We could do this, given symbols, but would it help? New code could use it in the next several years only with an ES6->E