原书出处
Domain-Driven Design Tackling Complexity in the Heart of Software
124 原书第15章|Abstract Core
the partitioning, or the interaction will have to be made indirect, which makes the model obscure.
Consider slicing horizontally rather than vertically. Polymorphism gives us the power to ignore a lot of the detailed variation among instances of an abstract type. If most of the interactions across MODULES can be expressed at the level of polymorphic interfaces, it may make sense to refactor these types into a special CORE MODULE
. We are not looking for a technical trick here. This is a valuable technique only when the polymorp
原书定位详情
来源:a19c7933-4eda-4176-aebd-30fe7e1ad292
正文位置:extracted/Domain-Driven Design Tackling Complexity in the Heart of Software/_epub-src/0321125215_ch15lev1sec8.html
EPUB SHA-256:3e81897e8809ae8135b32e0563f9858b3020c5f5128531655f6d8e3a21c679ce