Comment Comment by marshray State machines are known for a predilection to use `goto` extensively, but that does not make them 'spaghetti code'.A state machine is, in fact, a well-understood method of applying structure to spaghetti. parent marshray 4 years ago
A state machine is, in fact, a well-understood method of applying structure to spaghetti.