php
order process part 1: Increasing purity and testability
In this article I want to show you how to increase function purity, modularity and testability in inherently impure programs, based on a realistic code example. 🤠The following code snippets are not necessarily best practices. Each snippet is supposed to highlight one specific characteristic, without mixing in too many concepts