原书出处
Domain-Driven Design Tackling Complexity in the Heart of Software
39 原书第05章|Special Cases: When to Allow Mutability
ointers going both ways, it is hard to think of examples where such an arrangement would be useful.
Try to completely eliminate bidirectional associations between VALUE OBJECTS. If in the end such associations seem necessary in your model, rethink the decision to declare the object a VALUE OBJECT in the first place.
Maybe it has an identity that hasn't been explicitly recognized yet. ENTITIES and VALUE OBJECTS are
原书定位详情
来源:a19c7933-4eda-4176-aebd-30fe7e1ad292
正文位置:extracted/Domain-Driven Design Tackling Complexity in the Heart of Software/_epub-src/0321125215_ch05lev1sec3_split_002.html
EPUB SHA-256:3e81897e8809ae8135b32e0563f9858b3020c5f5128531655f6d8e3a21c679ce