Files
notes/Distributed_Systems/oo_design.md
2021-05-11 23:34:41 +01:00

8 lines
258 B
Markdown

- Program to an interface, not an implementation
- Inheritence breaks encapsulation
- interface -> implementation dependency
-> difficul to reuse
- Favor object composition over class Inheritence
- composition -> reusable components