Behavioral Patterns are design patterns that are concerned with communication between objects. They deal with how objects interact and how responsibilities are assigned. Essentially, they help objects cooperate.

When to Use

Behavioral patterns are used when there's a need to define clear channels of communication between objects, streamline how responsibilities are allocated, or simplify complex control flows.

Fundamental behavioral patterns

Strategy Pattern

Define a family of algorithms, encapsulate each one, and make them interchangeable.

The rest of the content (3 read minutes) is restricted.

Please use your personal access token or register to access.

Create account or login