# Re: A mathematical proof of encapsulation, part I

*From*: topmind <topmind@xxxxxxxxxxxxxxxx>*Date*: Sun, 04 Nov 2007 15:30:17 -0800

(I apologize if this is a duplicate post. Server burped on me.)

On Nov 4, 2:44 am, S Perryman <q...@xxxxx> wrote:

topmind wrote:

("Encapsulation" is kind of ambiguous anyhow. Some

emphasize a gate-keeper kind of locking doodad, while

others emphasize packaging of related items together

in code-space.)

No it isn't.

Encapsulation is about defining units of organisation/reference.

"Units of organization" is kind of vague.

Information hiding (and its sibling, accessibility) is an orthogonal

concept (although encapsulation is a key facilitator for them) .

As is the notion of "related items" (the term used is *cohesion* ) .

"Cohesion" appears to also have been overloaded in the industry.

Regards,

Steven Perryman

-T-

.

**Follow-Ups**:**Re: A mathematical proof of encapsulation, part I***From:*S Perryman

**References**:**Re: A mathematical proof of encapsulation, part I***From:*topmind

**Re: A mathematical proof of encapsulation, part I***From:*S Perryman

- Prev by Date:
**Re: A mathematical proof of encapsulation, part I** - Next by Date:
**UML unified modeling process** - Previous by thread:
**Re: A mathematical proof of encapsulation, part I** - Next by thread:
**Re: A mathematical proof of encapsulation, part I** - Index(es):