Tag: Policy
All the articles with the tag "Policy".
-
[DDD Intro #18] Specification and Policy: Modeling conditions and policies
Domain logic starts as small conditionals. If it is in a certain state, do not process it. If a certain date has passed, expire it. If it is a certain plan, do not discount it. At first, a few if statements are enough.