Skip to main content
OBJECT-ORIENTED-PROGRAMMING5 MIN READ

Review an anemic domain model without sounding doctrinaire

Coach a teammate to move domain behavior from a service into the object that owns the data.

Marco M PR author 1 Start narrow 2 Use expert 3 Keep service role Review moment 20 sec The PR SubscriptionService owns every subscription rule while Subscription exposes state. The author believes that keeping entities free of logic is cleaner. A useful review comment must reduce risk without attacking the author's style. Framework 1 min GRASP in review Information Expert

Read the full lesson

Sign up free — one personalized lesson every day, matched to your role and goals.

Already have an account? Sign in

← Back to library
Contact us