Entities vs Value Objects

#76 - Learning Domain-Driven Design - Vladik Khononov

Topic 9 of 12

Published Feb 14, 2022 · Clip 40:43–43:24 (2:41)

Vladik clarifies that entities and aggregates are not alternative patterns to choose from—an aggregate is a hierarchy of entities. The real distinction that matters is between entities and value objects: entities need explicit IDs (like a person), while value objects are identified by their values (like a color) and can be modeled as immutable. Value objects must describe something and exist as properties of entities within aggregates.