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

258 B

  • 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