- From: Kristopher Giesing <kris.giesing@gmail.com>
- Date: Mon, 19 May 2014 10:05:40 -0700
- To: Boris Zbarsky <bzbarsky@mit.edu>
- Cc: "public-fx@w3.org" <public-fx@w3.org>
Received on Monday, 19 May 2014 17:06:08 UTC
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