Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

Clarify naming rules for enums #1237

Closed
munificent opened this issue Feb 3, 2015 · 3 comments
Closed

Clarify naming rules for enums #1237

munificent opened this issue Feb 3, 2015 · 3 comments

Comments

@munificent
Copy link
Contributor

The style guide does implicitly cover them, but it should be explicit. Under "DO name types using UpperCamelCase", change:

Classes and typedefs...

to:

Classes, enums and typedefs...

Under "PREFER using lowerCamelCase for constant names.", change:

In new code, use lowerCamelCase for constant variables.

to:

In new code, use lowerCamelCase for constant variables, including enum values.

How does that sound?

@kwalrath
Copy link
Contributor

kwalrath commented Feb 3, 2015

sgtm

@kwalrath
Copy link
Contributor

@kwalrath
Copy link
Contributor

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

2 participants