Understanding the Patterns Used in This Book

Patterns come in many styles. The pattern styles that many people know are derived from Pattern-Oriented Software Architecture: A System of Patterns, by Frank Buschmann, Regine Meunier, Hans Rohnert, Peter Sommerlad, and Michael Stal (Wiley), and Design Patterns: Elements of Reusable Object-Oriented Software, so I look at those styles in this section. For a discussion of other pattern styles, see Chapter 5.

The Design Patterns pattern style

Design Patterns: Elements of Reusable Object-Oriented Software contains 23 patterns that improve the quality of OO design. The patterns are widely applicable, but the examples they contain use only the C++ or Smalltalk programming language. These patterns are widely taught in college courses; as a result, they're the first and only patterns that many people ever see.

images

Many books translate the Design Patterns patterns into different languages or different contexts, such as Design Patterns For Dummies, by Steve Holzner, PhD (Wiley); The Design Patterns Java Workbook, by Steven John Metsker (Addison-Wesley); and The Design Patterns Smalltalk Companion, by Bobby Woolf (Addison-Wesley).

The sections used within Design Patterns: Elements of Reusable Object-Oriented Software are shown in Table 4-2.

Table 4-2 Design Patterns Pattern Sections

Section Used For
Pattern name and classification The title ...

Get Pattern-Oriented Software Architecture For Dummies 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.