12.3. Reusing Models: A Word About Design Patterns
As discussed in Chapter 2, when learning about something new, we automatically search our "mental archive" for other abstractions/models that we previously built and mastered to look for similarities to build on. This technique of comparing features to find an abstraction that is similar enough to be reused effectively is known as pattern reuse. As it turns out, pattern reuse is an important technique for object-oriented (OO) software development.
Let's say that after we finish up our SRS class diagram, we're called upon to model a reservation system for a bed-and-breakfast (B&B) in Costa Rica. In keeping with the Internet age, the B&B wants to allow its customers to view the rooms and grounds, ...
Get Beginning C# 2008 Objects: From Concept to Code 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.