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

Re: [geometry] is2D

From: Rik Cabanier <cabanier@gmail.com>
Date: Fri, 6 Jun 2014 22:12:13 -0700
Message-ID: <CAGN7qDB9hEHaXOkObF4jnu3WnWfo7_tQJHHZFups-GyR2RaEdg@mail.gmail.com>
To: Dirk Schulze <dschulze@adobe.com>
Cc: "public-fx@w3.org" <public-fx@w3.org>
On Fri, Jun 6, 2014 at 10:06 PM, Dirk Schulze <dschulze@adobe.com> wrote:

>
>
> On Jun 7, 2014, at 6:57 AM, "Rik Cabanier" <cabanier@gmail.com> wrote:
>
>   All,
>
>  is2D [1] is a function that takes no arguments, doesn't change the state
> and returns a boolean.
> Is there any reason why we can't turn it into a readonly attribute?
>
> What is the benefit and cost for either of both?
>

It's likely the same. It just seems like this should be attribute since the
function has no side effects when you call it.
Received on Saturday, 7 June 2014 05:12:41 UTC

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