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

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 UTC