Non-Rules and myths
NR.4
Don't insist on placing each class definition in its own source file
Reason
The resulting number of files from placing each class in its own file are hard to manage and can slow down compilation. Individual classes are rarely a good logical unit of maintenance and distribution.
Example
???
Alternative
- Use namespaces containing logically cohesive sets of classes and functions.