原书出处
Domain-Driven Design Tackling Complexity in the Heart of Software
38 原书第05章|Is "Address" a V ALUE O BJECT ? Who's Asking?
to maintain ENTITIES. The attributes that make up a VALUE OBJECT should form a conceptual whole.[2]
For example, street, city, and postal code shouldn't be separate attributes of a Person object. They are part of a single, whole address, which makes a simpler Person, and a more coherent VALUE OBJECT.
[2] The WHOLE VALUE pattern, by Ward Cunningham. Figure 5.6. A VALUE OBJECT can give information ab
原书定位详情
来源:a19c7933-4eda-4176-aebd-30fe7e1ad292
正文位置:extracted/Domain-Driven Design Tackling Complexity in the Heart of Software/_epub-src/0321125215_ch05lev1sec3_split_001.html
EPUB SHA-256:3e81897e8809ae8135b32e0563f9858b3020c5f5128531655f6d8e3a21c679ce