Programming principles

Lesson 05 · 15 min

Design patterns: strategy, factory, observer

Three patterns that show up in every project, even when nobody calls them that.

15 minLesson 5 of 5Practice includedAsk AI on any point

A design pattern is a name for a typical solution to a typical problem. The best known catalog is the book "Design Patterns" (1994) by the "Gang of Four". The value of patterns is not in the code but in the vocabulary: say "this is a strategy" and a colleague understands the structure right away.

Sign in to continue

The rest of this lesson opens after sign up

The first lesson of every course is open without an account. To read on, solve the practice and use Ask, create a free account or log in.