40. Domain
Domain Model
The reality
An abstraction of reality
designed to manage
complexity for specific
business cases
A projection
of the Real Domain
THE PROBLEM SPACE THE SOLUTION SPACE
133. public class GuaranteedOneYearDeliveryOffer
{
public void after(CarTireSold delivery)
{
if (delivery.TimeTimeTaken.Exceeded(oneYear)
{
sendCarBreakDiscountCouponTo(delivery.Customer) ;
}
}
}
Don’t focus on technical details …
…talk in domain terns.