Videos provided by Scottish Ruby Conf via their Vimeo Channel.
State machines are everywhere. In fact the theoretical basis of our universe, quantum physics, consists of microscopic quantum state machines. These particles find themselves in discrete quantum states and can change state only in certain ways via uninterruptible transitions known as quantum leaps. Voila a perfect state machine.
State machines control the phone call between you and your mother to ensure that you get connected when both of you pick up the phone at exactly the same time.
State machines are paramount in the development of robust hypermedia API’s. The messages drive the application state (machine).
In general the state machine helps to simplify the logic to ensure your program responds appropriately in whatever order you throw events at it.
In this talk we will explore the powerful features of hierarchical state machines and look at how you can use them to accomplish simplexity in your programs.
Simplexity: complexity wrapped in something simple.