Statechart update
← Back to Kevin's homepagePublished: 2017 October 11A 20 minute video on how I’m using statecharts in Subform.
Here’s the Crash Course in UML State Machines article that I mention in the video.
For a contrast with my dynamic Clojure implementation, see Adam Solove’s state machine calculator in Reason (Facebook’s statically typed OCaml-ish); Adam’s accompanying article.
Email me if you have any questions, relevant personal experiences, or want to collaborate.
Open questions:
Statecharts should be very amendable to property-based testing; should this statechart library have some kind of integration or other story w/ clojure.spec / test.check?
More detailed guidelines / rules for when a statechart is better rendered by, e.g., React, vs. rendering itself via entry/exit/transition actions?
What’s perf overhead of datascript runtime implementation vs linking together statechart enter/exit/transition actions in a “compilation” step?
How does defining a statechart in code compare to a proper graphical modeling tool like QM or IBM’s Rational Rhapsody?