Skip to content

sayanmanik/DesignpatternDemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

DesignpatternDemo

OO Principles for Design pattern

Strategy Pattern

  • Encapsulation what varies
  • Favor composition over Inheritance
  • Program to interfaces, not implementations

Observer Pattern

  • Strive for loosely coupled designs between objects that interact

Decoration Pattern

  • Classes should be open for extension but closed for modification

Factory Pattern & Abstract Factory Pattern

  • Depend on abstraction. Don't depend on concrete classes

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published