Re:Designing state machines
by nickpsecurity on Monday June 26, 2017 @04:03PM
(#14639873)
Exactly. UML looked like over-complicated crap when I saw it after reading on Statecharts and Yourdon. The latter are still in use on occasion in high-assurance with Tenix's Dats Diode being an example.
Re:Designing state machines
by vanderZwan on Monday June 26, 2017 @07:45PM
(#14641382)
Funny how most visual programming languages (for example, puredata) look like these diagrams.
Statecharts (also called hierarchical state machines) are essentially generalized state machines which allow for nesting and parallel composition of states. The 'nesting' part is my favourite, since it allows one to delegate event handling logic shared by multiple states to a 'parent' state, reducing code duplication.
The great thing about this paper is that you can glean most of its key ideas by just looking at the diagrams.