Skip to content

Latest commit

 

History

History
47 lines (33 loc) · 3.67 KB

File metadata and controls

47 lines (33 loc) · 3.67 KB

TLDR-Learning-JS-Design-Patterns-by-Addy-Osmani

A too long; didn't read summary of the book Learning JavaScript Design Patterns by Addy Osmani

img

Anti-Patterns

  • Bad solution to a particular problem.
  • Knowledge of anti-patterns is critical for success. Once we are able to recognize such anti-patterns, we're able to refactor our code to negate them so that the overall quality of our solutions improves instantly.

Categories Of Design Pattern

Creational

Creational design patterns focus on handling object creation mechanisms where objects are created in a manner suitable for the situation we're working in.

Patterns: Constructor, Factory, Abstract, Prototype, Singleton and Builder

Structural

Structural patterns are concerned with object composition and typically identify simple ways to realize relationships between different objects.

Patterns: Iterator, Mediator, Observer and Visitor

Behavioral

Behavioral patterns focus on improving or streamlining the communication between disparate objects in a system.

Patterns: Iterator, Mediator, Observer and Visitor

Design Patterns

Contributing

Don't be shy! Lets make the docs better to help out our other fellow devs to learn design patterns in JavaScript.

Please do review the book first before making any PR fixes/additions to the master. Thanks!