Construct · 3 fields · 3 citations

Where does encapsulation collide?

One name. Different field. Different construct. One map.

● jingle · one word, three constructs Nearest construct by meaningmodularitycompare the meanings
How to read this

Every construct on the map is compared with every other by the meaning of its definitions, and the closest one is surfaced here. The nearest construct to encapsulation is modularity.

Hold this as a prompt, not a verdict. Two constructs sitting close in meaning is a reason to read them side by side and decide for yourself whether they are one idea under two names. It is not proof that they are. Compare the meanings in the Collider.

encapsulation3 CONSTRUCTSOOP encapsulationPARNAS · INFO HIDINGImmune encapsulationLAVINE · HEMOCYTE CAPSULEInfo encapsulationFODOR · SEALED MODULE

Spokes are fields; dashed arcs are shared lineage. Tap a field for its definition, unit, and measures.

2026

Drag to watch the word get claimed. Each field appears at the publication date of the earliest source cited for it. Tap a year to see which.

Computer science

Bundling data with its methods, hiding internal state

In object-oriented programming, encapsulation is the discipline of bundling a piece of data together with the operations that act on it, and hiding the internal representation behind a fixed public interface, so that other code depends only on what the object does and not on how it stores its state. The idea grows directly out of Parnas's 1972 On the criteria to be used in decomposing systems into modules, which argued that each module should hide a design decision likely to change and expose only a stable interface. The referent is a rule of software structure: a boundary drawn in code around data and behavior. It has nothing to do with an immune cell walling off a parasite, a mental module cut off from outside knowledge, or a drug sealed inside a protective shell.[1]

Unit
One class or module: a data structure plus the methods allowed to touch it, behind a public interface
Recovery means
Not applicable
Measured by
Assessed by how much internal state is kept private, and whether callers depend only on the public interface

Immunology and biology

Immune cells walling off a large invader

In insect immunity, encapsulation is a cellular defense in which blood cells, called hemocytes, surround an invader too large to be engulfed by a single cell, such as a parasitic wasp egg or a nematode, and build a dense, multilayered capsule around it that isolates and often kills it. Lavine and Strand's 2002 Insect hemocytes and their role in immunity reviewed how hemocytes recognise foreign surfaces and cooperate to form this capsule, which is frequently darkened by melanin. The referent is a living tissue response inside a body, judged by whether a foreign object ends up sheathed in cells. It is a wholly different thing from a boundary drawn around data in a program, a cognitive module cut off from belief, or a manufactured drug particle.[2]

Unit
One capsule: layers of hemocytes sheathing a single foreign body
Recovery means
The capsule may be cleared slowly as the walled-off invader dies and is broken down
Measured by
Scored by microscopy of implanted or injected targets, counting encapsulated objects and capsule thickness

Cognitive science and philosophy of mind

A mental module sealed off from outside information

In cognitive science, informational encapsulation is the property Fodor proposed as a hallmark of a mental module: a processing system is encapsulated when it cannot consult information held elsewhere in the mind while it works, so it runs on its own limited database and ignores what the rest of the mind believes. Fodor's 1983 The Modularity of Mind offered the persistence of visual illusions as evidence, noting that one line still looks longer than another even after you have learned the two are equal. The referent is an abstract limit on how a mental process can reach knowledge, not a physical wall. It differs sharply from data hidden inside a software object, cells surrounding a parasite, or a coating wrapped around a drug.[3]

Unit
One module's fixed database, walled off from the rest of the mind
Recovery means
Not applicable
Measured by
Inferred from behavior, such as illusions and reflexes that persist despite contrary knowledge

Next

Run it through the Collider, or take the citations with you.

See how encapsulation sits against neighbouring constructs in the Collider, or export every reference on this page in one click.

Open in ColliderExport BibTeXReport this collision

Nearby collisions

interface2 fields · 2 citationsjingle · one word, two constructsimmunity3 fields · 5 citationsjingle · one word, three constructsabstraction4 fields · 4 citationsjingle · one word, four constructs

References

  1. Parnas, D. L. (1972). On the criteria to be used in decomposing systems into modules. Communications of the ACM, 15(12), 1053–1058. https://doi.org/10.1145/361598.361623
  2. Lavine, M. D., & Strand, M. R. (2002). Insect hemocytes and their role in immunity. Insect Biochemistry and Molecular Biology, 32(10), 1295–1309. https://doi.org/10.1016/S0965-1748(02)00092-9
  3. Fodor, J. A. (1983). The modularity of mind. MIT Press. https://doi.org/10.7551/mitpress/4737.001.0001

Cited on this page?

Confirm your construct, or correct us.

If your work is cited behind one of these entries, you know better than we do whether we captured the meaning right. Confirm it, suggest an edit, or dispute it, and your name goes on the entry as an author who has checked it, linked to your ORCID.

Claim your construct