W3C home > Mailing lists > Public > public-script-coord@w3.org > January to March 2015

Re: Web IDL maplike: Allow spec prose to specify how key-type should be compared?

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 9 Mar 2015 14:40:08 -0700
Message-ID: <CAAWBYDAhwsd2fYLZs90-9LTRJqwZrFsL5HzG2ianDgXdE1FRQQ@mail.gmail.com>
To: Jonas Sicking <jonas@sicking.cc>
Cc: "Mark S. Miller" <erights@google.com>, David Dorwin <ddorwin@google.com>, public-script-coord <public-script-coord@w3.org>, Boris Zbarsky <bzbarsky@mit.edu>
On Mon, Mar 9, 2015 at 2:37 PM, Jonas Sicking <jonas@sicking.cc> wrote:
> On Mon, Mar 9, 2015 at 1:10 PM, Mark S. Miller <erights@google.com> wrote:
>> I can see why it may need a prototype. But why does it need a constructor?
>
> From what I'm told, in order to explain how the object was created.
> I.e. to avoid building "magic" into the API.
>
> But maybe there are other ways to do that?

This is a cool discussion, but it's also a complete tangent from the
original thread. ^_^

~TJ
Received on Monday, 9 March 2015 21:40:55 UTC

This archive was generated by hypermail 2.3.1 : Monday, 9 March 2015 21:40:55 UTC