sreich
09/01/2022, 6:52 PMLeoColman
09/01/2022, 9:21 PMPascalCased
TopLevelVariables
or Constants
in generalLeoColman
09/01/2022, 9:22 PMLeoColman
09/01/2022, 9:22 PMMatteo Mirk
09/02/2022, 3:52 PMFor enum constants, it’s OK to use either uppercase underscore-separated names (screaming snake case) (I’ve found the second convention used a lot in various codebases, and actually prefer it. Moreover it’s consistent with the) or upper camel case names, depending on the usage.enum class Color { RED, GREEN }
object
naming convention, makes sense to me.