Re: URLQuery / FormData

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