You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The basic form of object creation could result in design problems or added complexity to the design. Creational design patterns solve this problem by somehow controlling this object creation.
While the individual subjects have some brief statement, sometimes these seem not to be either problems or (at least unreasonable) complexities. In fact, the "Door" example doesn't even present the situation that is covered in the "When to use" section of the Simple Factory description.
Suggestion: Give an example, in every one of these, of a common situation that would in fact have more problems/design issues, before presenting a solution to it.
The text was updated successfully, but these errors were encountered:
Before the Simple Factory, is this text:
While the individual subjects have some brief statement, sometimes these seem not to be either problems or (at least unreasonable) complexities. In fact, the "Door" example doesn't even present the situation that is covered in the "When to use" section of the Simple Factory description.
Suggestion: Give an example, in every one of these, of a common situation that would in fact have more problems/design issues, before presenting a solution to it.
The text was updated successfully, but these errors were encountered: