Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

What ARE the problems or complexities alluded to in the text with regular object creation? #1

Open
Labels
help wantedExtra attention is needed
@richardberman

Description

Before the Simple Factory, is this text:

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /