Skip to content

a-benamor/head-first-design-patterns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Head-first-design-patterns

This project is my note of the head First Design patterns awesome book by Eric Freeman & Elisabeth Robson (with Kathy Sierra & Bert Bates).

It has the book examples in order to understand each design patterns.

About Design patterns

Designs patterns were found to solve problems and weren't invented. They apply OO basics and OO principles.

OO basics

  • Abstractions
  • Encapsulation
  • Polymorphism
  • Inheritance

OO principles

  • Encapsulate what varies
  • Favor composition over inheritance
  • Program to interfaces, not implementations
  • Strive for loosely coupled designs between objects that interact.
  • Classes should be open for extension but closed for modification
  • Depend on abstractions. Do not depend on concrete classes
  • Talk only to your friends
  • Don't call us, we will call you.
  • A class have only one reason to change

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages