Modulitis

Modulitis occurs when you take a C header file (or Pascal unit), make it a class, and turn all functions into members. A good way to recognize this problem is when member functions do not refer to the this pointer, either directly or indirectly, or when the class has nothing but static members. The result is usually a poor class definition.


[Contents] [Previous] [Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.

Generated with WebMaker