Week 4 – Isolating the Domain
Discussion led by Ayush Gupta I will start off with quoting this line from the chapter which I think really resonates with the idea of design principles we are discussing: “When domain logic is embedded in other layers, it becomes hard to see, test, and evolve.” One bit I really liked was the distinction between Application and Domain layers. The app layer doesn’t do business logic; it orchestrates it. That alone can clean up so much of the mess I’ve seen in bloated service classes. ...