I really struggle with the value of simple state machine diagrams. For example, I get very little out of the Unix process state machine diagram. I've also seen designs involving just two states. What am I missing?
https://web.stanford.edu/class/archive/cs/cs103/cs103.1142/b...
Done correctly, you can disentangle the decision-making code from the side effecting code to maximize reasoning ability.
My favorite example of this is the following write up: https://gist.github.com/andymatuschak/d5f0a8730ad601bcccae97...
https://www.wisdom.weizmann.ac.il/~harel/SCANNED.PAPERS/Stat...