Recent Posts

Bridge structural pattern

1 minute read

Bridge is a structural design pattern that lets you split a large class or a set of closely related classes into two separate hierarchies —abstraction and im...

Decorator structural pattern

1 minute read

Extending a class is the first thing that comes to mind when you need to alter an object’s behavior.

Adapter structural pattern

1 minute read

An adapter is a special object that converts the interface of one object so that another object can understand it.

Visitor behavioral pattern

1 minute read

The Visitor pattern suggests that you place new behavior into a separate class called visitor, instead of trying to integrate it into existing classes.

Template method behavioral pattern

1 minute read

The Template Method pattern suggests that you break down an algorithm into a series of steps, turn these steps into methods, and put a series of calls to the...