Different Strategies for Implementing State Machines
In this lesson, we will explain the different strategies for implementing state machines.
We'll cover the following
Every non-trivial program passes through several different states during its lifecycle. Describing this lifecycle as a finite state machine is a simple and useful abstraction. This lesson investigates different strategies for implementing state machines. The goal is to identify mechanisms that let the code communicate the intent of expressing the problem as a finite state machine.
Get hands-on with 1300+ tech skills courses.