Technical garden

Home

❯

Software Architecture & System Design

❯

Design Principles

Design Principles

Sep 17, 20251 min read

Design Principles

This section covers fundamental principles that guide the design of software systems for better quality and maintainability.

  • SOLID
  • Separation of Concerns (SoC)
  • Don’t Repeat Yourself (DRY)
  • You Aren’t Gonna Need It (YAGNI)
  • Keep It Simple, Stupid (KISS)
  • Composition Over Inheritance
  • Program against Abstractions
  • Encapsulate What Varies
  • Defensive Programming
  • Design by Contract (DbC)
  • Fail-Fast
  • The Law of Demeter (LoD)
  • Tell, Don’t Ask
  • The Hollywood Principle (IoC)

14 items under this folder.

  • Oct 06, 2025

    Composition Over Inheritance

    • design-principle
    • composition
    • inheritance
    • object-oriented
    • solid
  • Oct 06, 2025

    Encapsulate What Varies

    • design-principle
    • encapsulation
    • change-management
    • solid
    • open-closed-principle
  • Oct 06, 2025

    IoC

    • design-principle
    • inversion-of-control
    • framework
    • coupling
    • dependency-inversion
  • Oct 06, 2025

    Program against Abstractions

    • design-principle
    • abstraction
    • decoupling
    • solid
    • dependency-inversion
  • Oct 06, 2025

    Tell, Don't Ask

    • design-principle
    • object-oriented
    • encapsulation
    • behavior
  • Oct 05, 2025

    The Law of Demeter

    • design-principle
    • coupling
    • encapsulation
    • object-oriented
  • Oct 04, 2025

    Design by Contract

    • design-principle
    • design-by-contract
    • robustness
    • defensive-programming
  • Oct 04, 2025

    Fail-Fast

    • design-principle
    • fail-fast
    • debugging
    • defensive-programming
  • Oct 03, 2025

    Defensive Programming

    • design-principle
    • defensive-programming
    • robustness
    • fail-fast
  • Oct 03, 2025

    KISS

    • design-principle
    • kiss
    • simplicity
    • yagni
  • Oct 03, 2025

    YAGNI

    • design-principle
    • yagni
    • simplicity
    • kiss
  • Oct 02, 2025

    DRY

    • design-principle
    • dry
    • maintainability
    • soc
  • Oct 02, 2025

    Separation of Concerns (SoC)

    • design-principle
    • soc
    • modularity
    • solid
  • Sep 16, 2025

    SOLID

    • design-principle
    • solid
    • object-oriented
    • dependency-inversion

Created with Quartz v4.5.1 © 2025

  • GitHub
  • Discord Community