by vbtemp · 5y ago · 0 comments
Factoring out complex control system logic into these (and related) formalisms dramatically enhances testability, substantially reduces code volume, and eliminates huge swaths of possible defects (not to mention seriously enhances formal verification and model checking). The "code" part for applications should basically be for data plumbing, and all decision-making and control logic should be factored into these.
Thanks for posting this!!
With the next request, reload the “current” state of the machine and transition to the next based on the incoming request.
Rinse/repeat.