News for hackers. Stuff that matters.
Re:Defense of Lisp Macros by buescher on Friday July 26, 2024 @09:00AM (#41078258)
I haven't worked in automotive. And I'm not a strong advocate of exhaustive model-driven design like what's shown at that link. But it's worth looking at.

Generally if you have a state machine or state chart with more than a few states, it's worth implementing as a table. The "config format" is then an array in a source file. There is a standard interchange format, scxml, for statechart tooling and libraries, but if you're implementing your state machine directly from a whiteboard drawing, you might not bother with it.

There are no comments on this comment yet.