Overview

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

In this chapter,

  • I walk through the methods needed to solve the earlier CAD/CAM problem.

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

  • I compare the new solution with the previous solution.

Get Design Patterns Explained: A New Perspective on Object-Oriented Design 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.