On Jul 1, 2011 1:14 PM, "Brendan Eich" <bren...@mozilla.com> wrote:
>
> On Jul 1, 2011, at 2:21 AM, Tim Smart wrote:
>
>> I quite the current prototype model we have in ecma5. My only gripes
would be that `prototype` to too wordy,
>
>
> Do you use it that often?

15 years ago, writing an overwrought prototype hierarchy for a server-side
JS project, I experimented with

P = "prototype";

function Thing () { }
Thing[P] = { ... }

Wasn't worth it, I decided, because it didn't match the (then scant, now
abundant) documentation of delegation. Same principle applies here for
adding synonyms, I think.

Mike
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to