Skip to content
EntityQ181156· pop 53· linked from 236 articles

software design pattern

Sign in to save

Also known as design pattern

reusable solution to a commonly occurring software problem

AI overview

A software design pattern is a reusable solution to a problem that programmers encounter repeatedly when writing code. Using these proven approaches matters because it helps developers solve problems more efficiently and makes their code easier for others to understand and maintain.

AI-generated from the Wikipedia summary — may contain errors.

Wikidata facts

Show 2 more facts
Commons gallery
Software design patterns
Sources (5)

via Wikidata · CC0

~17 min read

Article

A software design pattern describes a reusable solution to a commonly needed behavior in software. A design pattern is not a rigid structure to be copied directly into source code. Rather, it is a description of and a template for solving a particular type of problem that can be used in many different contexts, including different programming languages and computing platforms. Design patterns can be viewed as formalized best practices that the programmer may use to solve common problems when designing software.

Object-oriented design patterns typically show relationships and interactions between classes or objects, without specifying the final application classes or objects that are involved. Patterns that imply mutable state may be unsuited for functional programming languages. Some patterns can be rendered unnecessary in languages that have built-in support for solving the problem they are trying to solve, and object-oriented patterns are not necessarily suitable for non-object-oriented languages.

Connections

Categories