Question d’entretien chez IntriCon

How would you write a state machine?