Yes... but what about those DTO objects, or value objects, "dataglob" types of objects, this article makes me feel better about having setters in those cases. Having setters seems okay in this case, as the only alternative with big sets of data seems to be really long constructors args.
1 comment:
Yes... but what about those DTO objects, or value objects, "dataglob" types of objects, this article makes me feel better about having setters in those cases. Having setters seems okay in this case, as the only alternative with big sets of data seems to be really long constructors args.
J
Post a Comment