2 ms·
All I recalled was Meyer talking about this, I couldn't remember what it was called. Another technique that is in the same category is functional core, imperat
by hinkley 3y ago
All I recalled was Meyer talking about this, I couldn't remember what it was called.
Another technique that is in the same category is functional core, imperative shell, which does largely the same steps but has a few more opinions about how you organize said command and query separation.
Every time I've switched code to this structure it's shrunk my tests by at least half, sometimes much more. It feels so good when you stop.