ECMA TC 39 / W3C HTML and WebApps WG coordination

Maciej Stachowiak mjs at apple.com
Fri Sep 25 16:57:04 PDT 2009


On Sep 25, 2009, at 1:18 PM, Brendan Eich wrote:

> I will stop the over-citing madness here and now :-P.
>
> The struggle to formalize ArrayLike, which seems like a common goal  
> for ES the core language and for WebIDL's ES bindings, makes me want  
> to give an exception to the "catchalls considered harmful for new  
> interfaces" injunction. I agree that indexing into array-likes, with  
> no liveness magic, seems containable and desirable. ES folks haven't  
> nailed down ArrayLike yet (our fault) and we would benefit from  
> collaboration with WebIDL folks here.
>
> So if you are doing more ArrayLike interfaces, let's keep talking.  
> Don't let at least my catchalls-considered-harmful statements stop  
> progress on ArrayLikes.

Perhaps when catchalls are considered for ECMAScript, there could b a  
way to encapsulate the specific pattern of index access, so you can  
have magical getters and setters for all index properties (integer  
numbers in range to be an array index) without having to install a  
full catchall for all properties.

Regards,
Maciej



More information about the es-discuss mailing list