Jaaved Ali Khan

34%
Flag icon
Classes are an opportunity. Each one will be useful to instantiate and/or specialize. However, each class you create places a burden on you, as the writer, to communicate its purpose and implementation to future readers. A system with hundreds or thousands of classes will intimidate a reader. Managing a namespace across many classes is expensive. You would like to invoke the costs of a new class only when there is a reasonable payoff. A large family of classes with only a single method each is unlikely to be valuable.
Jaaved Ali Khan
Pros and cons of creating a class.
Smalltalk Best Practice Patterns
Rate this book
Clear rating
Open Preview