4 ms·
I thought that hierarchical state machine is a pretty standard programming pattern, but I've never seen the name "statechart" before. Is it the same thing, or a
by golergka 7y ago
I thought that hierarchical state machine is a pretty standard programming pattern, but I've never seen the name "statechart" before. Is it the same thing, or are there any differences that I didn't notice?
- davidkpiano 7y agoIt's not exactly the same. Statecharts have more "features" than just hierarchical states: - Parallel (orthogonal) states - History (shallow, deep) states - Entry, exit, transition actions - Delays - "Throughout" actions (activities) - Etc. Check out the original paper: http://www.inf.ed.ac.uk/teaching/courses/seoc/2005_2006/resources/statecharts.pdf http://www.inf.ed.ac.uk/teaching/courses/seoc/2005_2006/reso...