原书出处
Domain-Driven Design Tackling Complexity in the Heart of Software
70 原书第09章|How to Model Less Obvious Kinds of Concepts
ontains an explicit way to define input into the generator that is also a validation of the output.
That is, the same SPECIFICATION that is passed into the generator's interface to constrain the creation process can also be used, in its validation role (if the implementation supports it) to confirm that the created object is correct.
(This is an example of an ASSERTION, discussed in Chapter 10.) Building to order can mean creation
原书定位详情
来源:a19c7933-4eda-4176-aebd-30fe7e1ad292
正文位置:extracted/Domain-Driven Design Tackling Complexity in the Heart of Software/_epub-src/0321125215_ch09lev1sec2_split_000.html
EPUB SHA-256:3e81897e8809ae8135b32e0563f9858b3020c5f5128531655f6d8e3a21c679ce