W3C home > Mailing lists > Public > public-script-coord@w3.org > April to June 2012

Re: Why are dictionary-typed attributes not allowed?

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Thu, 07 Jun 2012 10:11:12 -0400
Message-ID: <4FD0B680.4020501@mit.edu>
To: Anne van Kesteren <annevk@annevk.nl>
CC: public-script-coord@w3.org
On 6/7/12 1:19 AM, Anne van Kesteren wrote:
> How would it be different from returning an object that implements an interface?

There are a bunch of differences (the properties don't have to be on 
prototypes, etc), but the real question you seem to be asking is why we 
have dictionaries in the first place, no?  Why do we?

-Boris
Received on Thursday, 7 June 2012 14:11:48 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 May 2013 19:30:06 UTC