On 4/8/16 8:10 AM, Kartikaya Gupta wrote:
Is there a recommendation for what enum values in C++ code should be styled as? The coding style doesn't say and we use a variety of things in existing code, so I was wondering if we should settle on something for new enums being added to the code, and update the style guide accordingly.
FWIW, Google's C++ Style Guide dictates that enums in new code use kPrefixedNames. SHOUTY_CAPS are allowed in older code.
https://google.github.io/styleguide/cppguide.html#Enumerator_Names _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform