原书出处
Domain-Driven Design Tackling Complexity in the Heart of Software
77 原书第10章|Standalone Classes
ions into STANDALONE CLASSES, perhaps by modeling VALUE OBJECTS held by the more connected classes.
The concept of paint is fundamentally related to the concept of color. But color, even of pigment, can be considered without paint. By making these two concepts explicit and distilling the relationship, the remaining one-way association says something important, and the Pigment Color class, where most of the computational complexity lies, can be studied and tested alone.
Low coupling is a basic way to reduce conceptual overload. A STANDALONE CLASS is an extreme of low
原书定位详情
来源:a19c7933-4eda-4176-aebd-30fe7e1ad292
正文位置:extracted/Domain-Driven Design Tackling Complexity in the Heart of Software/_epub-src/0321125215_ch10lev1sec5.html
EPUB SHA-256:3e81897e8809ae8135b32e0563f9858b3020c5f5128531655f6d8e3a21c679ce