Any list of design patterns can be sorted by "Frequency of use?"

Is there a list of design patterns showing the most used; say, sorted by frequency of use.

I suggest that if there is such a list, perhaps it could be some kind of guide to know where to start learning and practicing design patterns.

Thanks.

+4
source share
4 answers

There is a list @ http://dofactory.com/Patterns/Patterns.aspx . It is not sorted by frequency, but rather a type (structural, creative, etc.). However, each template has a frequency of use ranging from 1 to 5, so you can sort the list yourself.

They are a pretty good resource with some specific code examples and UML for templates. I suggest you try.

NTN

+3
source

I am also interested in this and how I solved it by looking at the frequency of SO tags. For example, I found that the “intermediary” tag had only 8 questions, while the “strategy” had 45 and the “singleton” 293. Good, but rude, but probably impartial!

+1
source

Singleton has a significant market share: P The amount of use in the real world has little to do with the dignity of the template ( or how many times it messes up ).

+1
source

Any such list is deceiving you.

In a typical program, you would use many different design patterns, even if you knew nothing about design patterns and never knew how to use them. The fact is that design patterns describe general ways of working, general ways of structuring code. Because of this, you will have to spend many months analyzing the code, cataloging the templates to create such a list.

I don’t think anyone did this.

The best thing you need to do is just work through the design tutorials .

If the design template seems useful, pay attention if it does not bounce from it. If you have a basic understanding, immerse yourself in a book like this .

+1
source

All Articles