Re: Encapsulation vs separation of concerns

From: frebe (fredrik_bertilsson_at_passagen.se)
Date: 01/08/05


Date: 7 Jan 2005 21:54:40 -0800


> I have not sacrificed encapsulation, because the DTO has no
> intermediate states. It's simply a data carrier
So if a class don't have any intermediate states I can use public
instance variables and still have an encapsulated class?
Fredrik Bertilsson
http://butler.sourceforge.net