W3C home > Mailing lists > Public > public-web-perf@w3.org > February 2012

Re: [RequestAnimationFrame] Callback argument should be a callback interface, not just a callback

From: Ms2ger <ms2ger@gmail.com>
Date: Wed, 22 Feb 2012 18:19:20 +0100
Message-ID: <4F452398.2020600@gmail.com>
To: Anne van Kesteren <annevk@opera.com>
CC: public-web-perf@w3.org
On 02/22/2012 06:13 PM, Anne van Kesteren wrote:
> On Wed, 22 Feb 2012 16:24:37 +0100, Boris Zbarsky <bzbarsky@mit.edu> wrote:
>> On 2/22/12 9:59 AM, Anne van Kesteren wrote:
>>> We've had a long discussion on this and decided to simplify callbacks.
>>
>> Hmm. I must have missed this discussion. I don't see how this
>> simplifies callbacks at all, for _authors_... what am I missing?
>
> It's been a while since I read that thread, but it's the basic
> complexity argument. By offering more distinct APIs, authors have to
> learn more, make a choice, etc. and the additional functionality an
> object would bring is already available through JavaScript's bind() if I
> remember correctly.

Authors already have to do that, because we won't remove the 
functionality from existing APIs.

Ms2ger
Received on Wednesday, 22 February 2012 17:19:52 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 22 February 2012 17:19:53 GMT