Wednesday, October 13, 2004

Ever wondered which to choose?

Krzysztof Cwalina has written this very good blog entry about the questions and issues you should be addressing when you're choosing whether to implement factory methods or constructors. I know in some situations, you don't have a choice, certainly when you get into the remoting and COM+ arena, you have to use factory methods since there can be issues with overloaded constructors, but otherwise how do you decide?

Found via Mike Gunderloy.

Just wanted to share.

No comments: