Encapsulation vs Packing - What's the difference?
encapsulation | packing |
The act of enclosing in a capsule; the growth of a membrane around (any part) so as to enclose it in a capsule.
Grouping together an object’s ‘state’ (its data) and the operations that may alter or interrogate it (its methods).Huw Collingbourne, The Book of Ruby'', ''‘Encapsulation’ or ‘Information Hiding’? , page 140
(label) The process of arranging data into packets that can be transmitted using a given protocol.
----
The action of the verb.
# The action of putting things together, especially of putting clothes into a suitcase for a journey.
# (sciences, mathematics) The spatial arrangement of objects, items or constituent parts.
# The gathering of birds, animals etc. into a pack.
# (rugby) The forming of players into a scrum.
As a concrete noun.
# Material used to fill in the space around something, especially to make a piston etc. watertight or airtight.
# Material used to wrap a product for sale etc.; packaging.
# A fee charged to cover the costs of packaging.
# Special material used to fill containers or vessels for certain chemically related applications.
::::*Examples: Packing in a packed bed, or a column such as a distillation column or a chromatography column
