KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
It's common place for factory classes to be static, and factory methods to be static also. Did the GOF in the Design Patterns book ever stipulate that factories and their methods MUST be static in order to meet the strict definition of the pattern? Is having factories+/methods static just a consequence of the pattern? state data is not normally maintained by the factory class, so they're normally static.
Tags (comma-separated)
Save Edits
Cancel