W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2013

Re: Better event listeners

From: Anne van Kesteren <annevk@annevk.nl>
Date: Thu, 10 Jan 2013 14:41:50 +0100
Message-ID: <CADnb78hXRe66aPBRXudHMzbY0yV49WgGRnWffWTVPfq+rxq6pQ@mail.gmail.com>
To: brandon.wallace@yahoo.com
Cc: Domenic Denicola <domenic@domenicdenicola.com>, Jake Verbaten <raynos2@gmail.com>, Glenn Maynard <glenn@zewt.org>, "www-dom@w3.org" <www-dom@w3.org>
On Thu, Jan 10, 2013 at 2:38 PM,  <brandon.wallace@yahoo.com> wrote:
> I believe it has been mentioned that an object leaves the door open for future enhancements.  Returning only a function limits your options for future enhancements.

Given that there's ample precedence for such APIs in setInterval() and
such I'm not too worried about that. Enhancements will always be
possible one way or another. Memory usage and added complexity are
also considerations.

Received on Thursday, 10 January 2013 13:42:17 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:20 UTC