W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2010

Re: Flags for getFile/getDirectory (Re: New draft of FileSystem API posted)

From: Eric Uhrhane <ericu@google.com>
Date: Wed, 8 Sep 2010 11:03:38 -0700
Message-ID: <AANLkTik12Exuus59TzXqxeeR1hO7LzZ2qYx8+Xua6Fjz@mail.gmail.com>
To: Ian Hickson <ian@hixie.ch>
Cc: Darin Fisher <darin@chromium.org>, Adam Barth <w3c@adambarth.com>, Kinuko Yasuda <kinuko@chromium.org>, Web Applications Working Group WG <public-webapps@w3.org>, Robin Berjon <robin@berjon.com>
On Tue, Sep 7, 2010 at 11:13 PM, Ian Hickson <ian@hixie.ch> wrote:
> On Tue, 7 Sep 2010, Darin Fisher wrote:
>>
>> Based on the ValidityState example, it seems that the members of Flags
>> should be camelCase then instead of UPPERCASE?
>
> The platform convention, insofar as there is a convention, is that
> constants are uppercase, members are camelCase, and interfaces and
> constructors are TitleCase.

I was thinking of those as constants, but really they're members, so
yes, they should be camelCase.  I'll fix them.

> --
> Ian Hickson               U+1047E                )\._.,--....,'``.    fL
> http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
> Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
>
Received on Wednesday, 8 September 2010 18:04:25 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:40 GMT