September 2021

Strategy Pattern

STRATEGY This pattern belongs to the group of behavioral patterns. In other words, those that deal with the structure of processes and activities in a broader perspective. It is characterized by the fact that it encapsulates the process. It divides it into smaller modules that contain elements of the problem solution. The strategy manages these …

Strategy Pattern Read More »

Decorator Pattern

DECORATOR This pattern belongs to the group of structural patterns. Decorators provide flexibility similar to that of inheritance, but in return offer significantly expanded functionality. This pattern expands the structure without interfering with the existing objects. It is helpful when we need to dynamically extend an object. What does it mean dynamically? This means that …

Decorator Pattern Read More »

Builder Pattern

BUILDER It is one of the design patterns included in the group of construction patterns. The process of creating an object is separate from its real representation here.  However, there are two popular variations of this pattern which can lead to confusion in its understanding. The first variety was described by the authors of the …

Builder Pattern Read More »