// thinkbeforecoding

DDD: Specifications

2008-12-22T15:42:41 / jeremie chassaing

There's an interesting post by Greg Young about Specifications.

I'm currently refactoring some code to move constraints and validation in specification classes, and it really gives a better insight at what is constituting entities and what's not, especially when there are multiple level of constraints (persistence constraints, business constraints...)