W3C home > Mailing lists > Public > public-device-apis@w3.org > May 2010

Re: Property names vs. interface names

From: Rik Sagar <org.whatwg@sagar.org>
Date: Tue, 18 May 2010 13:55:00 -0700
Message-ID: <AANLkTimhSKBWPbTl9JizfZ9j1RGaCW0LG40dY_3LAUWU@mail.gmail.com>
To: Max Froumentin <maxfro@opera.com>
Cc: Innovimax SARL <innovimax@gmail.com>, public-device-apis <public-device-apis@w3.org>
FWIW I agree with Max's suggestion.

Most people will not see the interface definition or implementation code,
whereas the property is going to be widely seen and used, so should it's
intent needs to be obvious and more human accessible.

Rik.





Rik Sagar, San Jose, CA 95124
Visit : http://sagar.org/

 +1-408-799-4589  (mobile)
 0113-815-1583 (from UK)


On Mon, May 10, 2010 at 7:35 AM, Max Froumentin <maxfro@opera.com> wrote:

> On 10/05/2010 15:41, Innovimax SARL wrote:
>
>> What about Property pCPU vs. interface iCPU?
>>
>
> I think it's better if the property have the human-readable name,
> since it will be used in code. So I think
> CPU vs iCPU is best. Let's wait for more reactions.
>
> Max.
>
>
Received on Tuesday, 18 May 2010 21:02:23 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 14:53:43 UTC