We've been over this before.
1. No camelCaps.
2. No "oof" substrings (comical!).
3. No prepositional phrases that suggest predicates, where active verbs are
requried.
/be
On Oct 31, 2011, at 4:58 AM, David Bruant wrote:
> Le 30/10/2011 23:36, Brendan Eich a écrit :
>> On Oct 30, 2011, at 12:33 PM, Allen Wirfs-Brock wrote:
>>
>>> The object exemplar approach is just like self or selfish, except that it
>>> builds upon features that are already in JS. Specifically, it uses the new
>>> operator instead of a new method and it names the initialization method
>>> "constructor" in order to tie into the object construction mechanisms that
>>> already exist in JS.
>> +1
>>
>> The only thing I find off the mark is the typography of <|. In light of
>> this, and of the anti-grawlix reaction among many people, could we revisit
>> an infix operator used in restricted productions with [no LineTerminator
>> here] on the left of the operator contextual keyword?
>>
>> Likely keywords include 'proto' (but 'protos' seems better English given the
>> LHS being the prototype object)
> What about 'protoOf'? Operators are not camelcase ('typeof',
> 'instanceof'). Maybe 'protoof', but since 'proto' ends in 'o', it
> doesn't look very good to me (though I'm nit an native English speaker)
>
> let o = base protoof {a:1, b:2};
> let a = base protoof [1, 2, 3];
>
> Or,
>
> let o = base protoOf {a:1, b:2};
> let a = base protoOf [1, 2, 3];
> ?
>
> I would have suggested 'prototypeof' in reference to
> Object.getPrototypeOf, but I find it a bit long.
>
> Ideas?
>
> David
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss