D
Daniele Futtorovic
Excellent! That's exactly what I was saying as well.
I'm not sure I follow this. If you're saying that access and
mutation of internal data members, when absolutely necessary, should
be via methods rather than exposing those data members publicly, that
makes perfect sense.
I mentioned DAOs and similar data structures wrapped as objects
elsethread. While this technique is necessary in some areas of a
typical system, that level of exposure is inappropriate in
behavior-focused objects.
I agree, although no doubt someone will now come up with a
compelling exception to that rule.
It seems we all pretty much agree then.
Now where's the splitter who'll make this another "SWT" thread? ;-)