4 ms·
You have to be more clear with your terminology. The thing you are talking about is called "Factory Method Pattern". Don't call it just "Factory Pattern" becaus
by yoodenvranx 10y ago
You have to be more clear with your terminology. The thing you are talking about is called "Factory Method Pattern". Don't call it just "Factory Pattern" because it is not really a factory. Instead it uses a factory to achieve a very specific goal.
- mikekchar 10y agoNo it's an "Abstract Factory Pattern", but clearly I did not succeed in describing my use case adequately ;-).
- yoodenvranx 10y agoThe Abstract Factory Pattern is one of those patterns which I never fully understood because I never found a good real-world example which relates to my line of work. That's the reason why I misunderstood you ;)