3 ms·
Even without the framework, Erlang/Elixir processes very naturally lend themselves to statemachine-like behaviour. Unless you're doing something really weird, t
by tonyarkles 9y ago
Even without the framework, Erlang/Elixir processes very naturally lend themselves to statemachine-like behaviour. Unless you're doing something really weird, the messaging behaviour is basically:
new state = old state + message
- rdtsc 9y agoIndeed. In Erlang I had never actually used any of the FSM modules in practice because in my case a simple gen_server works just as well.