Remix.run Logo
throwaway2037 12 hours ago

Couldn't this be said about any alternative solution? I fail to see how this is specific to state machines.

What do you suggest instead of a state machine?

bvrmn 4 hours ago | parent [-]

Like properly model a domain in domain terms?

nottorp 3 hours ago | parent [-]

And that won't be a state machine with the states having more fancy names?

InDubioProRubio 2 hours ago | parent [-]

It will be, but the idea of having an overview over the states is gone then. There is just modules-> objects with the transitions being method calls. Nobody will have to know all the things about all the state transitions, resulting in another problem (dys)solved by architecture obscurity.

If needs be the state-machine can be reconstructed on a whiteboard by a team of five.