NOT”, “SHOULD”, “SHOULD NOT”, “RECOMMENDED”, “MAY”, and “OPTIONAL” in this document are to be interpreted as described in RFC 2119. (https://www.ietf.org/rfc/rfc2119.txt)
choose a name, it should reveal the intent of the thing you’re trying to name; if a comment is needed, then the name does not sufficiently reveal the intent.
in order to understand the name, the name has pretty much failed to communicate. Names are not for your convenience, but rather the primary tool for communicating your intent.
verbs • Avoid noise words like Manager, Processor, Data or Info; they are just synonyms for “I don’t know how to call this” • Boolean should be written as predicates • If a method returns a Boolean, should be written as predicate
SCOPE OF THE VARIABLE, THE LONGER THE NAME • For classes and functions: THE LONGER THE SCOPE, THE SHORTER THE CLASS OR FUNCTION NAME SHOULD BE. THE SHORTER THE SCOPE, THE LONGER THE CLASS OR FUNCTION NAME SHOULD BE.