Why is it called Strategy pattern?

The idea behind the strategy pattern is that “algorithms can be selected at runtime.” (Wikipedia, Strategy Pattern) The pattern, in essence, is selecting the right strategy (or behavior) for solving a particular problem at runtime . Hence, it’s name.

Sizin İçin Seçtik  How do design patterns work?

Leave a Reply

Your email address will not be published. Required fields are marked *