Wednesday, 7 August 2013

Difference between State pattern and and Strategy pattern

Difference between State pattern and and Strategy pattern

Looking at the GoF patterns I find the similarities between State and
Stategy pattern rather striking. Both swap out polymorphic classes to
modify behavior. Anyone else found the same?
What are the exact differences?

No comments:

Post a Comment