[webkit-dev] Enum naming style?

Geoffrey Garen ggaren at apple.com
Wed Oct 1 16:58:42 PDT 2008


> I would argue for enum Color { BrownColor };

I believe (based on recent patch reviews) that we have undocumented  
consensus that this style of first-letter-capitalized CamelCase is  
preferred for enums. I tend to agree with Peter that the "Color"  
suffix is unnecessary, but I'm not sure if there's consensus on that.

Geoff


More information about the webkit-dev mailing list