3 ms·
I just wrote about some possible pitfalls down the ADT route: https://treetide.com/posts/domain-model-pitfalls-oop-fp.html https://treetide.com/posts/domain-mod
by treetide 6y ago
I just wrote about some possible pitfalls down the ADT route: https://treetide.com/posts/domain-model-pitfalls-oop-fp.html https://treetide.com/posts/domain-model-pitfalls-oop-fp.html
> As more operations are demanded, it is more likely that the existing partitioning of the world into the nice distinct cases won’t suit that operation anymore. Then, as a fix, we can introduce more specific cases, or make existing ones more general - leading to ambiguity, bloat and mental load for the existing operations.
Just an aspect.
- cannabis_sam 6y agoI like it! It’s the kind of reasonable discussion that I crave in this field.