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

These names came from jQuery. In my experience, you get accustomed to them
immediately and it's not confusing in practice. Given all that, is there
much benefit in going with the longer, bulkier names?

On Wed, Aug 22, 2012 at 7:41 AM, Joćo Eiras <joaoe@opera.com> wrote:

> Hi !
>
> The spec [1] defines the new methods "after" and "before". Unlike
> "prepend", "append", "replace" or "remove", "after" and "before" are not
> verbs, which makes them a bit less comprehensible.
>
> Could you rename them to addAfter/addBefore or something equivalent ?
>
> Thank you.
>
> [1] http://dvcs.w3.org/hg/domcore/**raw-file/tip/Overview.html#**
> mutation-methods<http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#mutation-methods>
>
>

Received on Wednesday, 22 August 2012 19:14:06 UTC