Object.eq is ready for discussion

Brendan Eich brendan at mozilla.com
Sun Sep 5 19:06:43 PDT 2010


On Sep 5, 2010, at 5:33 PM, Maciej Stachowiak wrote:

> 
> On Sep 5, 2010, at 1:08 PM, Sam Ruby wrote:
> 
>> On Sun, Sep 5, 2010 at 3:28 PM, Brendan Eich <brendan at mozilla.com> wrote:
>>> 
>>> The "eq" name is freakishly short, which might up the odds of it not colliding with existing user-level extensions to Object
>> 
>> http://api.jquery.com/eq/
> 
> I don't think this would be a conflict, since that eq method is on jQuery objects, not on the Object global constructor like the proposed 'Object.eq'.

Still, it's another use of 'eq', which could be confusing.

I'm not sure what the best name is, but I'm pretty sure it is longer.

/be



More information about the es-discuss mailing list