W3C home > Mailing lists > Public > public-script-coord@w3.org > October to December 2014

Re: Conventions for composed words in enum

From: Anne van Kesteren <annevk@annevk.nl>
Date: Wed, 12 Nov 2014 20:00:07 +0100
Message-ID: <CADnb78ik3r3kXM_K30H6dk6MMvjWwZscNF57b+pU04KGBrHTAA@mail.gmail.com>
To: David Dorwin <ddorwin@google.com>
Cc: Harald Alvestrand <harald@alvestrand.no>, Dominique Hazael-Massieux <dom@w3.org>, public-script-coord <public-script-coord@w3.org>, Stefan HÃ¥kansson LK <stefan.lk.hakansson@ericsson.com>
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.

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:23 UTC