Exploring the Factory Design Pattern

Posted by asksuperuser on Stack Overflow See other posts from Stack Overflow or by asksuperuser
Published on 2010-04-13T20:42:18Z Indexed on 2010/04/13 20:42 UTC
Read the original article Hit count: 249

Filed under:
|

There was an article here: http://msdn.microsoft.com/en-us/library/Ee817667%28pandp.10%29.aspx

The first part of tut implemented this pattern with abstract classes. The second part shows an example with Interface class. But nothing in this article discusses why this pattern would rather use abstract or interface.

So what explanation (advantages of one over the other) would you give ? Not in general but for this precise pattern.

© Stack Overflow or respective owner

Related posts about design

Related posts about design-patterns