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

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

From: Glenn Maynard <glenn@zewt.org>
Date: Tue, 25 Sep 2012 13:11:30 -0500
Message-ID: <CABirCh8Ub5VCZaGCr_P5dR2JJzMcNVBh6F1auR-k-g9Y+Tn5wQ@mail.gmail.com>
To: Anne van Kesteren <annevk@annevk.nl>
Cc: João Eiras <joaoe@opera.com>, "www-dom@w3.org" <www-dom@w3.org>, Erik Arvidsson <arv@google.com>, Alex Russell <slightlyoff@google.com>
On Tue, Sep 25, 2012 at 12:57 PM, Anne van Kesteren <annevk@annevk.nl>wrote:

> On Tue, Sep 25, 2012 at 7:34 PM, João Eiras <joaoe@opera.com> wrote:
> > So, we have a consensus? Can the change be made please?
> >
> > I notice that there is already a bit of hype surrounding the methods, and
> > they are being implemented, so would be good not to create yet another
> > compatibility problem in the near future.
>
> I'd like a reply to
> http://lists.w3.org/Archives/Public/www-dom/2012JulSep/0069.html
> first. I have not seen developer feedback with regards to these names
> being confusing by the way.
>

As a developer I'd find the "before" and "after" names confusing, because
they look like queries, not mutators.  I don't see any drawbacks to
"addBefore" and "addAfter".

-- 
Glenn Maynard
Received on Tuesday, 25 September 2012 18:11:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 25 September 2012 18:12:08 GMT