Please enable JavaScript.
Coggle requires JavaScript to display documents.
Meaningful Names (Avoid desinformation (Avoid false clues that obscure the…
Meaningful Names
-
-
Use searchable names
-
-
If a variable or constant migth be seen or used in multiple places, it is imperative to give it a search-friendly name
Method names
-
Accessors, mutators and predicates
get, set and is
When constructors are overloaded, use static factory methods with names that describes the arguments
-
-
-
-
-
-
-
-
-
-
-
Final words
Harder thing about choosing good names is that it requires good descriptive skills and a shared cultural background
-