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

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 UTC