Content deleted Content added
Reverted good faith edit(s) by 122.181.130.13 using STiki |
|||
Line 52:
This mechanism is not unique to object-oriented programming. Implementations of [[abstract data types]], e.g. [[module (programming)|modules]], offer a similar form of encapsulation. This similarity stems from the fact that both notions rely on the same mathematical fundament of an [[existential type]].<ref>Pierce (2002), Section 24.2 "Data Abstraction with Existentials"</ref>
== In combination ==
Line 64 ⟶ 59:
An analogy can be made here with the notion of a [[Information hiding|capsule]], which not only encloses its contents, but also protects it from the exterior environment.<ref name=Dale/>
== References ==
|