Skip to content

subshell/functionalstatemachineexample

Repository files navigation

Functional State Machine Example

Traditional implementations of state machines suffer from various problems including intermingled state handling, which lead to messy code that is hard to understand and maintain. Using features of the Go language allows for the elimination of these problems and improves the clarity of the code.

See Implementing Functional State Machines with Go for full article.


Take a look at this project from the subshell team. We make Sophora: a content management software for content creation, curation, and distribution. Join our team! | Imprint