by tobr·7y ago·view on hn ↗This seems rather similar to “Functional Core, Imperative Shell”[1]. As much as possible of your program should be stateless logic, and then you have a smaller part that handles messy side effects and calls into the logic.1: https://news.ycombinator.com/item?id=18043058