Casper Bang wrote: > I agree with Kirk, one should always aim at having as few arguments as > possible for a variety of reasons and if you think in abstractions/ > contexts it should be possible. It's fine to make up and pass DTO's > (synthetic objects) I guess I should explain my position at bit more. I'm not really a fan of synthetic objects. If the object doesn't have natural behavior, then one has to question purpose. For sure there are objects that act more like data holders than thing that have a lot of behavior. However they should serve a design purpose in that they should add semantic meaning to the model. DTOs do not fit that definition. About the only thing I can think of would be defining trim points for the exportation of large object graphs. Even then, value objects would seem like a better solution. > > There's no one size > fits all solution > +1
Kirk --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/javaposse?hl=en -~----------~----~----~----~------~----~------~--~---
