Steve Fenton

patterns

You can subscribe to the patterns tag micro-feed.

The State Pattern

I have been looking at the State Pattern and I have noticed that the examples of the State Pattern online can be a bit confusing. This is largely due to the challenge of simplifying the code enough to make the example short. So this is my example of the State Pattern, a bit more complex […]