3 ms·
Language tooling makes a big difference on whether state machines work well in your code or not. Rust is awesome for state machine. The "enum" type can hold d
by bryanlarsen 4y ago
Language tooling makes a big difference on whether state machines work well in your code or not.
Rust is awesome for state machine. The "enum" type can hold data, and modern Rust has a bunch of convenient ways for destructuring enum's.