Home  /  Questions  /  Question

50   50
Jul 16, 2014

Simple Factory pattern versus Factory Method


Here's a good url describing the difference between different factory pattern implementations:


I think the "simple factory" described  in the article may be the pattern that developers most commonly implement as a factory pattern.

The "factory method" pattern seems to add an additional layer of complexity but I'm not clear on how this additional layer of complexity adds value over the "simple factory" pattern.

Can someone here articulate how the additional layer of complexity of a factory method pattern over a simple factory pattern adds value and in what scenarios you would justify the additional complexity of a factory method over a simple factory?  What are the benefits?

Also, would you say that a simple factory pattern would be a more appropriate choice for most real world biz app dev scenarios?