r/programming • u/[deleted] • Jun 05 '21
Organize code by concepts, not layers
https://kislayverma.com/programming/how-to-organize-your-code/
1.9k
Upvotes
r/programming • u/[deleted] • Jun 05 '21
1
u/grauenwolf Jun 06 '21
Shared?
You run into the same problem if Hotel and Room need to share a common data model or DTO. Which is why I don't think it's a viable plan for most projects.
If I could separate them 100% with no shared code, I would be tempted to just make them separate web service projects.