Object Oriented Takeaways
- Encapsulation
Isolation
Encapsulation is a subset of Isolation.
Isolation prevents all dependencies from leaking out. Using Isolation, data must be passed via ports.
Encapsulation allowed some dependencies to leak out, e.g. control flow (In method overriding).
[Example: C provided full isolation under UNIX®.]