You are previewing Fluent C#.

Fluent C#

Cover of Fluent C# by Rebecca M. Riordan Published by Sams

14. Design Patterns

So what, exactly, is a design pattern? Basically, it’s a solution to a common problem. Sometimes patterns are expressed as class diagrams, but they’re more often a diagram that describes a “who does what” scenario at a fairly high level. The idea of a design pattern was first developed by the architect Christopher Alexander, whose books The Timeless Way of Building and A Pattern Language proposed patterns for common architectural problems. It was applied to software engineering by Gamma, Helm, Johnson and Vlissides (familiarly known as the Gang of Four) in their influential Design Patterns: Elements of Reusable Object-Oriented Software.

In the last chapter we looked at a few of the principles that theoreticians have proposed ...

The best content for your career. Discover unlimited learning on demand for around $1/day.