3 Comments
User's avatar
Jason Stewart's avatar

I'm curious how you would make the decision when to use a finite state machine in the project - at what size does it help manage the complexity and not get in the way? And what would be some of the pain points that help make that decision.

Expand full comment
Martin Joo's avatar

hmm that's a good question. Unfortunately, I don't have a generic answer. I like state machines. Sometimes I use them even if the project is not too big. It feels more safe to be honest. But as usual it depends on the current project/team/environment/etc.

Expand full comment
Jason Stewart's avatar

The model that I am thinking of is clearly a really good candidate for a state machine regardless - 10 states with 1 initial and 3 possible final states. I was just wondering about other projects about how I would do the cost / benefit

Expand full comment