Design Patterns · Junior · Question 1 of 75

What is a design pattern?

Explanation

A pattern isn't code but a description of an idea: what problem it solves, what parts the solution consists of, and its pros and cons. The implementation depends on the language and context. Knowing patterns gives a team a shared vocabulary: "we need a strategy here" is clear without long explanations.

Further reading

Problem with a question

Design Patterns · Junior · question 1

Test yourself

Take the Design Patterns · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz