Chapter 25. Roles of Classes
Some things better change ... but fundamental themes should revel in persistence.
|--Stephen J. Gould|
Kinds of Classes
The C++ class is a programming language construct that serves a variety of design needs. In fact, I find that the solution to most knotty design problems involves the introduction of a new class to represent some notion that had been left implicit in the previous draft design (and maybe the elimination of other classes). The great variety of roles that a class can play leads to a variety of kinds of classes that ...