Classification

Classic Design Patterns:

The 23 Gang of Four (GoF) patterns ( defined by four authors – Erich Gamma, Richard Helm, Ralph Johnson and John Vlissides) are generally considered the foundation for all other patterns. They are categorized in three groups:

  1. Creational design patterns

  2. Structural design patterns

  3. Behavioral design patterns

Other Design Patterns:

  1. Concurrency design patterns

  2. Architectural design patterns

Each of the design pattern represents a specific type of solution for specific type of problem. There is no universal set of patterns that always the best fit. We need to learn when the the particular pattern will provide solution to the problem.

Note:

Applying wrong pattern to a given problem leads to code complexity , performance issues and also lead to anti-pattern.

Last updated