Chapter 13. Solving the CAD/CAM Problem with Patterns

Overview

In this chapter, I apply Alexander’s suggested approach1 with design patterns to solve the CAD/CAM problem presented in Chapter 3, “A Problem That Cries Out for Flexible Code.”

This chapter

•   Walks you through the methods needed to solve the earlier CAD/CAM problem.

•   Takes you through the initial design phase. The details of implementation are left to you.

•   Compares the new solution with the previous solution.

Review of the CAD/CAM Problem

Chapter 3 described the requirements for the CAD/CAM problem, a real-world problem that first got me on the road to using design patterns.

The problem domain is in computer systems to support ...

Get Design Patterns Explained: A New Perspective on Object-Oriented Design, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.