I really like design templates, but it's hard for me to understand when I can apply them. I read a lot of sites that explain design patterns. I understand most of them, but it's hard for me to recognize the pattern in my own situations.
So this is why I am asking this question. Are there any recommendations / signal bells when to use a design pattern.
For example, if you execute a switch statement to determine which object you want to create, you probably want to use the factory design pattern. Thus, the switch statement in this case is a "signal call" to use the factory pattern.
So, do you know more โalarmsโ to define a design pattern?
c # design-patterns
Martijn Feb 18 2018-11-18T00: 00Z
source share