W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2012

Re: DOM 4 naming "before" and "after"

From: Anne van Kesteren <annevk@annevk.nl>
Date: Sun, 26 Aug 2012 15:40:20 +0200
Message-ID: <CADnb78i3KXhEyD1ObssYiQpU0ptvfbgVc=wSN-9KM+xYka_dCg@mail.gmail.com>
To: João Eiras <joaoe@opera.com>
Cc: "www-dom@w3.org" <www-dom@w3.org>
On Wed, Aug 22, 2012 at 11:37 PM, João Eiras <joaoe@opera.com> wrote:
> However the baseline APIs provided by browser should be designed for
> clarity. While it's optional to learn to use a library, it's not as often
> optional to learn the APIs of the web platform.

Well, there seems to be some sentiment that the platform should be a
good enough library.
http://infrequently.org/2012/08/inadmissible-arguments/

We already have the verb'd variant, insertBefore(). Big reason why we
added these new methods is to provide short names for common
operations (also ES6-style API and making it easier to deal with
text).


-- 
http://annevankesteren.nl/
Received on Sunday, 26 August 2012 13:40:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 26 August 2012 13:40:54 GMT