Long Acronyms Should Be Pascal Cased
FxCop gets us on this all the time for constants:
Protected Const DEFAULT_DATE As String = "1/1/1800 12:00:00 AM"
Protected Const NAMES_FIRM_ADDR_RELATION As String =
"NamesFirmAddrRelation"
Protected Const AP_ADDR_RELATION As String = "FirmsApAddrRelation"
Protected Const FIRMS_FIRM_ADDR_RELATION As String =
"FirmsFirmAddrRelation"
Protected Const NAMES_SECONDARY_FIRM_ADDR_RELATION As String =
"NamesSecondaryFirmRelation"
Protected Const NAMES_PREFERRED_FIRM_ADDR_RELATION As String =
"NamesPreferredAddrRelation"
I am getting tired of seeing these in FxCop so I can remove the rule, ignore
them or fix them.
What are other folks doing with casing for constants?