3 ms·
Do you think most devs spend enough time thinking through a good way to model what they're building?
by cshenton 9y ago
Do you think most devs spend enough time thinking through a good way to model what they're building?
- pbourke 9y agoIn my experience, most devs start with an ORM/data store/framework/pattern and try to shoehorn the solution into it. I think Domain Driven Design[0] has held up well as an alternative to this - especially the strategic design patterns. The DDD strategic patterns are all about expressing the model in the domain language and finding the boundaries around clusters of interrelated model concepts (DDD calls these "Bounded Contexts"). DDD is often mentioned alongside CQRS[1] these days, but it also works for plain old OOP and functional systems as well. [0] https://en.m.wikipedia.org/wiki/Domain-driven_design https://en.m.wikipedia.org/wiki/Domain-driven_design [1] https://martinfowler.com/bliki/CQRS.html https://martinfowler.com/bliki/CQRS.html