by Kinrany · 4y ago · 0 comments
Originally it's about avoiding the quadratic explosion of the number of things that must be implemented. The method is to replace M * N separate pieces of code with
- a single extra X thing
- M + N pieces of code
- a way to compose these M + N pieces of code to get the M * N you wanted in the first place