DEV Community

Discussion on: Cleaning up your codebase with a clean architecture

Collapse
 
barryosull profile image
Barry O Sullivan

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.