Skip to content

Design pattern

A reusable solution structure for a recurring software design problem, with its own trade-offs.

Software architecture

What is a design pattern?

A design pattern describes a reusable solution structure for a recurring software design problem. It explains an approach together with conditions for use and drawbacks. It is neither a finished product nor code that can be copied unchanged into every project. Suitability depends on the particular problem.

In a fictional modernisation project, an adapter layer translates between the request models of an old and a new application. This can shield the new part from peculiarities of the old model. Meanings still need clarification: renaming a field does not resolve conflicting business rules. The additional translation brings maintenance work and its own failure cases. A pattern should therefore address a named need rather than merely increase the number of patterns in use.

Sources