The main loop of Programming block programms isn’t ideal for writing large programs, as you can’t abstract implementation details into separate blocks because everything has to be called through the main method on update.
Since I discovered that method dispatch is sort of possible by using delegates:
This code here is very experimental, and doesn’t really give any advantage to just putting code straight into the main method at the moment. The goal of this is to both separate init stage from runtime and to offer a mechanism for timer speed management. Another neccessity is to provide a state machine responding to stimuli from outside. None of this is possible really without wrappers for the loop and the storage mechanisms.