In computer programming, an object orgy is a situation in which objects are insufficiently encapsulated via information hiding, allowing unrestricted access to their internals.
The results of an object orgy are mainly a loss of the benefits of encapsulation, including: Encapsulation may be weakened in several ways, including: An object may also make its internal data accessible by passing references to them as arguments to methods or constructors of other classes, which may retain references.
Members may be declared public to avoid the effort or syntactic overhead of providing proper accessors for them.
Many programmers view objects as anemic data repositories and manipulate them violating Information Hiding, Encapsulation and Design by Contracts principles.
In general, encapsulation is broken because the design of other classes requires it, and a redesign is needed.