W3C home > Mailing lists > Public > public-script-coord@w3.org > July to September 2013

Re: URLQuery / FormData

From: Jonas Sicking <jonas@sicking.cc>
Date: Tue, 10 Sep 2013 15:50:36 +0200
Message-ID: <CA+c2ei9qrtapqvvjyv+gtOR=G0amVjM=yFhMRbr5FBFgK6y4cA@mail.gmail.com>
To: Anne van Kesteren <annevk@annevk.nl>
Cc: "public-script-coord@w3.org" <public-script-coord@w3.org>
On Tue, Sep 10, 2013 at 10:31 AM, Anne van Kesteren <annevk@annevk.nl> wrote:
> On Tue, Sep 10, 2013 at 1:39 AM, Jonas Sicking <jonas@sicking.cc> wrote:
>> We have gotten a lot of critisism over the years for creating APIs
>> that doesn't reuse existing JS infrastructure. And rightfully so. It's
>> annoying for authors to have to learn a new variations of interacting
>> with the APIs that they are using.
>
> Some of the developers who have been vocal about bad API design
> support the changes I suggested (and Rick actually suggested them to
> me a while back, which I forgot about :/), so I'm not sure what you
> say here captures their concerns accurately.

Also, we shouldn't be doing API design based on who-said-what but
rather than on technical arguments.

My arguments are

* We should make the DOM more similar to ES since it is less API
surface for users to use.
* It enables authors to treat the map as a simple name/value map and
get a consistent API that exposes that. I hope the emails from Tab and
I explain how the API is consistent.

/ Jonas
Received on Tuesday, 10 September 2013 13:51:33 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:37:50 UTC