Chapter 11. Reusing Designs Through Design Patterns

In yesterday’s chapter, you saw how Object Oriented Design helps you design a solution for a problem. Through OOD you build a blueprint that diagrams the objects that comprise your system. Once you have this design, you can begin to implement your solution.

You probably have a few questions, however.

  • How do you know that yours is a good design?

  • Will your design have unforeseen consequences in the future?

  • How have other designers solved this or a similar problem in the past?

  • What about reuse? OOP gives you code reuse, but does OOD allow for reuse?

This chapter will help you answer these questions and more as you explore the topic of design patterns.

Today you will learn

  • How to use design patterns

  • How to ...

Get Sams Teach Yourself Object Oriented Programming in 21 Days, 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.