W3C home > Mailing lists > Public > public-fx@w3.org > April to June 2014

Re: [web-animations] AnimationTimeline comments

From: Kristopher Giesing <kris.giesing@gmail.com>
Date: Mon, 19 May 2014 10:05:40 -0700
Message-ID: <CAAhnRF8VfQBBzJYCMsD3s0qDTkwSQMbntjnkE8E1xefPQAhHpA@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: "public-fx@w3.org" <public-fx@w3.org>
Let me rephrase: it would make more sense to me to provide an object-getter
for this task than an object-creator, especially given the desire to
control/avoid memory allocations in code concerned with smooth animations.

- Kris


On Mon, May 19, 2014 at 9:58 AM, Boris Zbarsky <bzbarsky@mit.edu> wrote:

> On 5/19/14, 12:48 PM, Kristopher Giesing wrote:
>
>> It would make more sense to me for a method named "get" to return the
>> same object every time.
>>
>
> This is backwards reasoning, just like reasoning from the IDL.
>
> First you should decide on the behavior you want.
>
> Then you name the method (and write the IDL) in whatever way best reflects
> that behavior.
>
> -Boris
>
Received on Monday, 19 May 2014 17:06:08 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:49:49 UTC