Object Orgy

[From ClassicOoAntiPatterns]

Absence of data encapsulation. The data members may be public (or might as well be because they are exposed to the world through getters and setters), or the objects may hold references to each other. In any case the objects end up doing more tweaking of the other objects' data than of their own, with ensuing confusion about who did what to whom when.


See also EncapsulationIsaWasteOfTime


EditText of this page (last edited December 27, 2003) or FindPage with title or text search