Re:How I Learned to Stop Worrying and Love the State Machine
by jacquesm on Monday February 26, 2018 @04:25PM
(#16469118)
That's mixing up properties, ownership and state. Those are very different concepts.
[ Parent
| on HN ]
Re:How I Learned to Stop Worrying and Love the State Machine
by bdjewkes on Monday February 26, 2018 @04:44PM
(#16469229)
That's effectively the conclusion that the series comes to in the end.
Re:How I Learned to Stop Worrying and Love the State Machine
by CPAhem on Monday February 26, 2018 @07:24PM
(#16470185)
Indeed. Whether you use OO or state machines depends on the architecture of your problem. There is unlikely to be a one-size fits all solution to every class of problem.
State machines are used extensively by HDL hardware design tools, and are easier to debug.