[webkit-dev] Enum naming style?

Peter Kasting pkasting at chromium.org
Wed Oct 1 16:33:25 PDT 2008

On Wed, Oct 1, 2008 at 4:01 PM, Eric Seidel <eric at webkit.org> wrote:

> enum Color {
>   Brown,
>   Red,
>   Blue
> }

I've always been a fan of this, personally... One can use Color::Brown to
solve ambiguities if necessary, but stick with just Brown in most scenarios.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.webkit.org/pipermail/webkit-dev/attachments/20081001/d8702714/attachment.html 

More information about the webkit-dev mailing list