polygoncell
发贴: 14
积分: 2
|
于 2005-11-21 01:39
1. I cannot really understand your definition about the "static factory". actually, the reason, that you used, describes the power of the Factory. It is NOT the reason that we should ONLY use static Factory, that means any other Factory Patternns variants is not suitable. would you please introduce it in detail? maybe some codes example? Please do not hesitate to tell us. thanks.
2. The 4 Patterns that I compared here are coming from the GOF Design Patterns, which is a well known Patterns category in the world. Is the "static Factory" also a Pattern? whould you please give me the reference of it? Or it is only a variant of the Factory Pattern? If so, It is not a correct candidate for this discusstion.
|