Ricardo

47%
Flag icon
VALUE OBJECTS, like functions, are safer to use and easier to test. An operation that mixes logic or calculations with state change should be refactored into two separate operations (Fowler 1999, p. 279). But by definition, this segregation of side effects into simple command methods only applies to ENTITIES.
Domain-Driven Design: Tackling Complexity in the Heart of Software
Rate this book
Clear rating
Open Preview