Skip to content

Files

Latest commit

Apr 14, 2025
0d2c3e6 · Apr 14, 2025

History

History
8 lines (6 loc) · 481 Bytes

Design Principles.md

File metadata and controls

8 lines (6 loc) · 481 Bytes
  1. Identify the aspects of your app that vary and separate them from what stays the same.
  2. Favor composition over inheritance.
  3. Program to an interface, not an implementation.
  4. Loosely coupled designs allow us to build flexible object oriented systems that can handle change because they minimize the inter-dependency between objects.
  5. Classes should be open for extensions, but closed for modifications.
  6. Depend upon abstractions. Do not depend upon concrete classes.