Skip to content

pijey/designpatterns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

designpatterns

Code snippets from the book Head First Design Patterns

Conception principles

  • Identify the aspects of your application that change and separate them from those that remain the same
  • Program an interface, not an implementation
  • Prefer composition over inheritance

Strategy

The Strategy pattern defines a family of algorithms, encapsulates each of them and make them interchangeables. Strategy allows the algorithm to change regardless of the clients that use it.

About

code snippets from the book Head First Design Patterns

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages