Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does a definitive list of design patterns exist? [closed]

Where did the idea of design patterns come from, who decided what is and isn't a pattern and gave them their names? Is there an official organisation that defines them, or do they exist through some community consensus?

like image 410
David Arno Avatar asked Sep 25 '08 21:09

David Arno


People also ask

How many design patterns exist?

As per the design pattern reference book Design Patterns - Elements of Reusable Object-Oriented Software , there are 23 design patterns which can be classified in three categories: Creational, Structural and Behavioral patterns.

Are there more than 23 design patterns?

There are 23 official patterns from the book Design Patterns - Elements of Reusable Object-Oriented Software, which is considered one of the most influential books on object-oriented theory and software development.

Are design patterns still used?

Quick answer: yes. Especially when you're at the beginning of your journey, design patterns are a good starting point. Even if you won't use them right away in your first projects, getting to know them will help you understand the existing solutions you're using. Complex solutions are made of patterns.

Why do design patterns exist?

Design patterns provide general solutions, documented in a format that doesn't require specifics tied to a particular problem. In addition, patterns allow developers to communicate using well-known, well understood names for software interactions.


1 Answers

I think there's a basic "life cycle of a design pattern"

  1. Author writes about design pattern in a book.
  2. Book becomes well read, possibly best seller
  3. Design pattern enters public conscious, gains mindshare.
  4. Design pattern gets used. It works well. design pattern gets more mindshare
  5. Design pattern becomes panacea, gets over-used.
  6. Different Author writes "Design Pattern Considered Harmful"
  7. Design pattern becomes Anti Pattern
  8. Different Author becomes famous, writes book full of new design patterns...
like image 91
Ryan Avatar answered Sep 19 '22 03:09

Ryan