Published October 26, 2019
by Doug Klugh
Writing Code That Humans Can Understand
Give consideration as to how things are named within your code. Classes and variables should be named as nouns, while derived classes can be augmented with adjectives. Methods should be named as verbs and Booleans should be named as predicates. Create names that people can pronounce and communicate your intent. This will make your code easier to read and easier to understand; hence easier to maintain.
«
Any fool can write code a computer can understand,
but it takes a good programmer to write code a human can understand.
»
- Martin Fowler