Don’t Give Up on the State Pattern Just Yet – Revisited

In my previous post on the subject, I showed how you can remove some of the friction caused by applying the State pattern. In fact, as some of you rightfully pointed out, this friction isn?t caused by the State pattern itself but by a violation of the Interface Segregation Principle.   The use of role interfaces […]

Read More