1
edit
Changes
→Factory Pattern Design
Design patterns are conventional templates that describes how to solve common software problems. Since most developers are familiar with the patterns, they can recognize a pattern in others source code. That makes working in teams easier. There are many popular design patterns. One of them is Factory pattern.
Factory pattern is a type of creational pattern. Creational pattern pattern solves problems related to creatingobjects. Factory pattern solves two major problem generally faced by developers.
1. To reduce too many new operator usage