statecharts / statecharts.github.io

There is no state but what we make. Feel free to pitch in.
https://statecharts.dev/
311 stars 52 forks source link

Update what-is-a-state-machine.md #32

Closed netaisllc closed 5 years ago

netaisllc commented 5 years ago

Excellent content.

These are mostly preferences on my part; the one I feel most strongly about is the point A state can define actions... IMHO the original text implies action definition as a consequence of entering or exiting. I think we want to be very clear that actions may occur on entry/exit, but are defined at an entirely different place and time.

mogsie commented 5 years ago

Thanks, both for the kind words and the improvement. This text is some of the oldest here on statecharts.github.io, and I should really go over it all with clarity in mind. I have recently overhauled "what is a statechart" but this one (what is a state machine) is probably pretty important for new readers.