August 2008 Entries

Class naming

In the process of writing one of the chapters in the brownfield book, I started thinking about class naming.  Some time ago I remember hearing someone saying that they didn't much like the use of class names that ended in 'er' even if they conveyed good intent.  For example: SpellChecker or NameParser My understanding is that the dislike stemmed from the thought that the use of 'er' made the name of the class to much like a verb, and that verbs were the domain of a method name. ...