Thinking in C++ Vol 2 - Practical Programming |
Prev |
Home |
Next |
describe a problem which occurs
over and over again in our environment, and then describe the core of the
solution to that problem, in such a way that you can use this solution a
million times over, without ever doing it the same way twice Christopher
Alexander
This chapter introduces the important
and yet nontraditional patterns approach to program design.
The most important recent step forward in object-oriented
design is probably the design patterns movement, initially chronicled in Design Patterns, by Gamma, Helm, Johnson & Vlissides (Addison Wesley,
1995), which is
commonly called the Gang of Four book (GoF). GoF shows 23 solutions to
particular classes of problems. In this chapter, we discuss the basic concepts
of design patterns and provide code examples that illustrate selected patterns.
This should whet your appetite for reading more about design patterns, a source
of what has now become an essential, almost mandatory vocabulary for
object-oriented programming.
Thinking in C++ Vol 2 - Practical Programming |
Prev |
Home |
Next |