
788 Chapter 18 Object-Oriented Infrastructure
At least in your local environment, you can attempt to maximize reuse of your
own components. Here are some issues for module structures that must be resolved
to yield reusable components:
Variation in types. The module should be applicable to structures of different
types. Templates or parameterized data types can help here.
Variation in data str uctures and algorithms. The actions performed during an
algorithm might depend on the underlying structure of the data. The module
should allow for handling variations of the underlying structures. Overloading
can help here.
Related routines. The module must hav ...