2015-02-19

Object Calisthenics and Domain Modeling

Several times before I've covered how object calisthenics can save you so naturally I'm happy to see yet another example. This time referenced to as domain modeling which is probably a better approach than talking about calisthenics since that is a work many of us have no idea what it means...

So my original story was about how object calisthenics domain modeling saved the day. Last year I wrote how it can save the night. And here is the new article I read focusing on domain modeling. Common for all these cases is that by avoiding the use of primitive types for things that actually have some special meaning (ex: string vs email address) makes it easier to write code that follows the same business rules everywhere.

No comments:

Post a Comment