What is the difference between strategy pattern and Observer pattern?

The difference between the two patterns is the purpose and use case . The Strategy pattern relies on the strategy to do the work, while the Observer pattern informs the observers of what is going on with the subject.

Sizin İçin Seçtik  What type of pattern is an Observer?

Leave a Reply

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