O'Reilly logo
  • Aamir Aftab thinks this is interesting:

In “Design Patterns: Elements of Reusable Object Oriented Software”, the Gang of Four opened the book with two foundational principles of object oriented design:

  1. Program to an interface, not an implementation.

  2. Favor object composition over class inheritance.


Cover of Programming JavaScript Applications


javascript design pattern gof fundamental principles