encapsulation

Wrapping something entirely

Encapsulation is the act of enclosing something within a capsule or container, literally or figuratively.

In programming, it means bundling data with the methods that operate on it while restricting direct access to internal workings—a core principle of object-oriented design.

More broadly, encapsulation describes condensing complex ideas into compact form: The phrase encapsulates everything wrong with modern politics.

programming

object-oriented

Paradigm using encapsulated entities

protected · method · interface · inheritance · polymorphism · mutator · getter · setter · constructor · abstraction

isolation

sealing

Making impermeable

shielding · separation · protection · hermetic · airtight · waterproof · barrier · segregation · confinement · sequestration

containment

shell

Hard outer covering

coating · wrapper · sheath · housing · pod · cocoon · husk · jacket · liner · sleeve

biology

vesicle

Small fluid-filled sac

nucleus · mitochondria · chloroplast · Golgi · lysosome · peroxisome · cellular · compartmentalization

pharmaceutical

pill

Solid medicine dose

  • tabletFlat portable computing device
  • gelcapCoated liquid-filled pill
  • softgelPliable capsule for supplements

dosage · time-release · enteric · coating · medication · supplement · lozenge · caplet · dragee · bolus

summary

distillation

Purification via vaporization

précis · abstract · epitome · compression · brevity · conciseness · nutshell · summation · reduction · crystallization

Categories
Opposites
containment/concealment

encapsulationexposure

State of being unprotected

openness · disclosure · revelation · transparency · accessibility

compression/summarization

encapsulationelaboration

Development through detail

expansion · explication · unpacking · amplification · exposition

software engineering abstraction

encapsulationexposure

State of being unprotected

public access · spaghetti code

Family

encapsulating, encapsulations

Familiarity
Top 500,000
Profile
Used worldwide · Timeless · Abstract · Rated G