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.
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.