Bertil Muth

I created a library for defining executable state machines in your code. This includes the possibility to define hierarchical state machines with sub states. State machines simplify understanding how your code works when you have complex business rules.

As an oversimplified example for learning purposes, look at the following state machine for a shopping cart.

It represents its two fundamental states of being either empty, or non-empty.

The AddItem trigger causes a change to the non-empty cart state.

The RemoveItem trigger causes a change to the empty cart state, if the cart only contains 1 item.



Photo by Sincerely Media on Unsplash

I mostly write about technology related topics, and agile software development.

Yet I’m really curious: what would be a topic that you would like to read about? Yes, YOU! :-)

Drop me a note in the comments and if I have something to say about the topic, I will write about it. Oh man, I’m so looking forward to this.