Re: Re: DRY and cross domain logic

"Tom Eugelink [email protected] [domaindrivendesign]" <[email protected]> Mon, 25 May 2015 18:21:06 +0200
Newsgroups gmane.comp.programming.domain-driven-design
Message-ID <[email protected]>
As said in the original post; the age example is just a place holder to make the problem less abstract.

Tom


On 25-5-2015 11:18, [email protected] [domaindrivendesign] wrote:
> Tom,
>
> After spending some time in the healthcare domain, I've noticed that in the context of patient care - exact age isn't really that important. I mean, does it really matter if the patient was born Jan 29, or Jan 30? Or even Jan/Feb/March?
>
> Most of the time, the answer is no - unless we're talking about newborns or infants.
>
> The age-group has greater significance than the age: newborn, infant, child, teen, adult, senior, etc.
>
> I'd suggest spending some more time with domain experts to analyze the kinds of rules that would be written.
>
> -- Udi
>
>