Skip to content

🔥 ⚡ SOLID Design Principles explanation with diagrams, examples in C++. 🚀 Motivation behind each principle is explained. Difference between good code and bad code is defined.

License

Notifications You must be signed in to change notification settings

tal95shah/SOLID_Principles

Repository files navigation

SOLID Design Principles using C++

What happens if we don't use SOLID?

  • Tight coupling occurs
  • Duplication of code
  • Unknown issues in application development lifecycle
  • requires time to do modification in code
  • code not testable

Why use SOLID?

  • reduces complexity of code.
  • reusability
  • reduces error
  • increase readability, extensibility
  • better testability
  • reduces tight coupling

Solution to successful development of app depends on?

  • Architecture (e.g MVC)
  • Design Principles (e.g SOLID)
  • Design Patterns (e.g Singleton)