Designing Code to Be Used Again

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Previous sections focused on techniques you can use to write code that is easy to understand and maintain. This section covers techniques you can use to transform that code into reusable components.

A discussion of the principles behind creating high-quality procedures is beyond the scope of this chapter. Complete coverage of this topic is available in Code Complete by Steve McConnell (Microsoft Press, 1993).

This section is designed to get you started writing code that can be used in different situations.