Related to the “Functional Core, Imperative Shell” and “Hexagonal Architecture” ideas, but fleshed out with real code.