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.
enum OptionA {
ALL_CAPS_VALUES,
THIS_IS_LIKE_SHOUTING
};
enum OptionB {
SentenceCaseValues,
ThisMightBeConfusedWithOtherThings
};
enum OptionC {
eSentenceCaseValues,
eThisSeemsPopular
};
Others?
kats
_______________________________________________
dev-platform mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-platform