feyil / DesignPatternsC-

Design Pattern Implementations Using C++

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Design Patterns with C++

Design Pattern implementations with C++ (Tutorial)

Created to understand design patterns deeply. These code written by following a series of tutorial. I am putting these to access whenever I need to recap design patterns.

The SOLID Design Principles

Single Responsibility Principle
  • A class should only have one reason to change
  • Seperation of concerns - different classes handling different, independent tasks/problems
Open-Closed Principle
  • Classes should be open for extension but closed for modification
Liskov Substition Principle
  • You should be able to substitute a base type for a subtype
Interface Segregation Principle
  • Do not put too much into an interface; split into seperate interfaces
  • YAGNI - You aint going to need it
Dependency Inversion Principle
  • High-level modules should not depend upon low-level ones; use abstractions

Builder Design Pattern -> Pending

About

Design Pattern Implementations Using C++


Languages

Language:C++ 94.1%Language:C 5.9%