Ga naar de hoofdinhoud

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.

object-oriented-programming5 min read

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.

← Back to library

Neem contact op