Re: Encapsulation vs separation of concerns
From: frebe (fredrik_bertilsson_at_passagen.se)
Date: 01/08/05
- Next message: frebe: "Re: Business Entities in the UI"
- Previous message: frebe: "Re: What is an OODBMS?"
- In reply to: Robert C. Martin: "Re: Encapsulation vs separation of concerns"
- Next in thread: Robert C. Martin: "Re: Encapsulation vs separation of concerns"
- Reply: Robert C. Martin: "Re: Encapsulation vs separation of concerns"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: frebe: "Re: Business Entities in the UI"
- Previous message: frebe: "Re: What is an OODBMS?"
- In reply to: Robert C. Martin: "Re: Encapsulation vs separation of concerns"
- Next in thread: Robert C. Martin: "Re: Encapsulation vs separation of concerns"
- Reply: Robert C. Martin: "Re: Encapsulation vs separation of concerns"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]