re: Cleaning up your codebase with a clean architecture VIEW POST

re: This is a nice example of SoC, yet also yields to an anemic domain model when there exists a service layer operating on entities - the changes to w...

Hi James,

I agree, the above isn't a solid example of DDD, and it should not be viewed as such.
The above code is a contrived example to explain the concept of a clean architecture, so it doesn't feature any of the richness that a real domain model would contain.

code of conduct - report abuse