Chapter 2. What I learned from DDD. Value Objects

Value Objects allow us to encapsulate elements of our domain that represent a value by themselves, such as an email, a date or a score.

One of the ideas that I liked the most about the DDD approach is the “Value Objects”, which allow us to encapsulate the elements of our application that…