W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2012

Re: [whatwg] [URL] DOM API Feedback

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 19 Nov 2012 09:07:06 -0800
Message-ID: <CAAWBYDB7+KpPaBan+utUd0x+hjqS4mQp6TWcPtokCABqArPCaA@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: WHATWG <whatwg@lists.whatwg.org>
On Mon, Nov 19, 2012 at 8:22 AM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> On 11/19/12 11:20 AM, Tab Atkins Jr. wrote:
>> To a first approximation, they shouldn't be.  ES6 classes desugar into
>> functions and prototypes.
>
> Hmm.  They didn't completely at some point, but maybe something got changed
> since I last looked.
>
> "first approximation" is not great if we actually expect people to implement
> stuff interoperably, not just interoperably to a first approximation.  ;)

I think it's valid to say in general, I'm just not 100% sure.  I only
follow es-discuss, I'm not part of tc39 and don't actually track
things too closely.

Even if it doesn't, the part of "subclassing" that you need to make
"URLQuery as subclass of Map" work is doable with existing ES5.

~TJ
Received on Monday, 19 November 2012 17:08:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:48:11 GMT