Domain-Driven Refactoring: Encapsulating Data

added by DotNetKicks
8/19/2021 4:49:36 PM

711 Views

Posts in this series: IntroProcedural BeginningsLong MethodsExtracting Domain ServicesDefactoring and Pushing Behavior DownEncapsulating DataIn the last post, we looked at using a few common refactorings to encapsulate operations and push behavior down into our domain model. While this works to encapsulate operations, we haven't yet encapsulated our data. Take a


0 comments