Re: Conventions for composed words in enum

On Wed, Nov 12, 2014 at 7:29 PM, David Dorwin <ddorwin@google.com> wrote:
> Is "lowercasewords" still the preferred style? Would it be possible to add
> naming guidelines to http://heycam.github.io/webidl/#idl-enums? Absent any
> other guidance, the current note implies use of dashes.
> http://www.w3.org/TR/api-design/#enums says nothing about naming.

It might be best to file a bug against IDL. Emails tend to get lost,
even if archived.


> FYI, here are a couple counterexamples in active specs:
>
> Fetch is using a mix of concatenation and dashes:
> https://fetch.spec.whatwg.org/#requestcontext

Thanks. I'm checking whether I can still get rid of the hyphens.


-- 
https://annevankesteren.nl/

Received on Wednesday, 12 November 2014 19:00:37 UTC