by userbinator · 3y ago · 0 comments
trivialidentifier - local variables inside a function, usually < 3 words/abbrs
slightly_important_identifier - function names with limited scope
ImportantIdentifier - widely-used functions, class/struct names
More_Important_Identifier - classes/structs that are quite important
VERY_IMPORTANT_IDENTIFIER - global constants and (rarely) classes/structs"Importance" is subjective, and regardless, IMO not really an important measure of anything.
Why can't the style simply imply how much scope and importance an identifier has?
Because lack of underscores doesn’t unanimously imply lack of importance or scope.