by LeifCarrotson · 4y ago · 0 comments
The key is to build a data-driven state machine, rather than writing logic with a bunch of 'if' statements.
I designed a language for solving this: http://www.adama-lang.org/
I get all the benefits of a data driven state machine with the simplicity of a language that supports asynchronously asking users for updates.