Are factors such as Intellisense support and strong typing enough to justify the use of an 'Anaemic Domain Model'?
Posted
by
David Osborne
on Programmers
See other posts from Programmers
or by David Osborne
Published on 2012-08-14T10:36:34Z
Indexed on
2012/09/13
15:50 UTC
Read the original article
Hit count: 378
It's easy to accept that objects should be used in all layers except a layer nominated as a data layer. However, it's just as easy to end-up with an 'anaemic domain model' that is just an object representation of data with no real functionality ( http://martinfowler.com/bliki/AnemicDomainModel.html ).
However, using objects in this fashion brings the benefit of factors such as Intellisense support, strong typing, readability, discoverability, etc.
Are these factors strong arguments for an otherwise, anaemic domain model?
© Programmers or respective owner