|
|
|
|
|
by garthk
3937 days ago
|
|
I think the most dangerous advice I got was to avoid DTOs and similarly domain-behaviour-free object graphs. That corner of the .NET world at the time called such a model an 'anaemic domain'. Instead, we were encouraged to model problems with objects for every noun, methods for every verb, arguments for every adjective, and all the code dealing with them attached to the class. It worked fine while our domain remainded small, but got ghastly quickly. |
|