The Factory Pattern promotes loose coupling by eliminating the need to bind application-specific classes into the code.
The Factory method lets a class defer instantiation to subclasses" Thus, as defined by Gamma et al, "The Factory Method lets a class defer instantiation to subclasses.
Will write about it later.
No comments:
Post a Comment