Methods should state their intent in the name
up:: Refactoring
The method names should show intent. A method composed of other should almost read like a line of prose.
Methods should be short. A full method should fit on a screen.
prefix | behaviour |
---|---|
is | Returns True/False |
get | Returns a property |
set | Mutates a property |