Re:Why Developers Never Use State Machines (2011)
by AstralStorm on Tuesday February 27, 2018 @10:12AM
(#16473988)
Design by contact is a lot more general. You can have preconditions and postconditions in stateless code. And statelessness is the best way to handle concurrency. When stateful and concurrent, you get to handle outdated requests intelligently and with as little blocking as possible.
https://github.com/nhatminhle/cofoja for example