Naming Conventions for Accessors
When naming accessors within classes, non-trivial getters and queries, i.e., those that perform calculations, you should prepended get
. All other getters have no prefix and setters have the set
prefix.
When naming accessors within classes, non-trivial getters and queries, i.e., those that perform calculations, you should prepended get
. All other getters have no prefix and setters have the set
prefix.