Chapter 11. Ten More Design Patterns
The Abstract Factory pattern
</objective> <objective>The Prototype pattern
</objective> <objective>The Bridge pattern
</objective> <objective>The Interpreter pattern
</objective> <objective>The Memento pattern
</objective> <objective>The Visitor pattern
</objective> <objective>The Circular Buffer pattern
</objective> <objective>The Double Buffer pattern
</objective> <objective>The Recycle Bin pattern
</objective> <objective>The Model/View/Controller pattern
</objective> </feature>“Okay,” say the programmers at GlobalHugeCo, the computer manufacturer, “we’ve got the patterns you’ve suggested so far implemented and running. What’s next?”
“Bad news,” you say. “We’re coming to the end of the book.”
“Oh no!”
“But we’re going out with a bang,” you say. “This chapter contains not one, not two, but ten additional patterns.”
“Woo hoo!” the programmers cry.
So far, you’ve seen most of the Gang of Four (GoF) patterns, but there are six more left in the original set of 23. You see those six in this chapter. They’re all good patterns, but some aren’t used often these days. And some are just plain hard to implement, like the Interpreter pattern, which says, “Given a language, define a representation for its grammar along with an interpreter that uses the representation to interpret sentences in the language.” That sounds like a good afternoon’s work.
Besides getting the remaining Gang of Four patterns, you also get a glimpse ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access