4 ms·
Drawn as a graph, it ends up minimizing: - Node size (think small functions and objects, not big ones) - Degree (minimize dependencies. Also, an O(m+n) many-t
by jowiar 11y ago
Drawn as a graph, it ends up minimizing:
- Node size (think small functions and objects, not big ones)
- Degree (minimize dependencies. Also, an O(m+n) many-to-few-to-many is probably easier to reason about than an O(mn) many-to-many),
- Overall number of nodes (DRY, also, less code is generally better than more code).
Of course, the prioritization between these three is up in the air.