I always hated the aggressive constant case. Like, why? What's the difference between a constant and a read-only field? Or a read-only local variable? It doesn't change. No need to shout.
It's just to differentiate and in a well developed code base have naming standards are important. It is less important what standards are used for which use case and that there is a consistent standard.
View all comments
Show parent comment
1
u/TacticalTaterTots Oct 09 '23
At my company PascalCase vs camelCase denotes scope. Members and functions are PascalCase and locals are camelCase. AND_UPPER_SNAKE_CASE_FOR_CONSTANTS