Monthly Archive: December 2013

Dec 29

Design patterns: state

gumball machine flow

It’s about the time to put another design pattern post on my blog. This time I’ll write about state design pattern about which I read in the book. State pattern helps objects to control their behavior by changing their internal state. I also learnt it’s really similar to the first pattern in the book which …

Continue reading »

Permanent link to this article: https://blog.lukaszewski.it/2013/12/29/design-patterns-state/