News for hackers. Stuff that matters.
Re:Why Developers Never Use State Machines (2011) by acrive on Tuesday February 27, 2018 @04:06AM (#16472085)
The state machine is very near at Design by contract pattern. There are states, preconditions and other stuff. The question now will be "Why developers never use design by contract pattern?" :)

https://github.com/nhatminhle/cofoja for example

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.