Return to Home Page
      Blog     Consulting     Seminars     Calendar     Books     CD-ROMS     Newsletter     About     FAQ      Search
 

"...you could imagine a more complex problem where the appropriate factory object is returned and then used by the caller to create an object in a
more sophisticated way."

I'm not clear what the advantages of this are, other than for administrative things such as reference-counting.
Could you describe more (or illustrate with an example)?
Do you mean that the usual one-one relationship between a class and its factory/init method might be broken (multiple/shared methods), or that the factory method would do something fancier...?

f  e  x



Add your comment below. Use an empty line between each paragraph. Paragraphs will be automatically formatted, and single carriage returns will be respected. Use <code> to begin a code block, and </code> to end a code block. Your email address will not be visible to spam harvesters or used in any way except to contact you with further questions.

Your Email Address:

Search     Home     WebLog     Consulting     Seminars     Calendar     Books     CD-ROMS     Newsletter     About     Contact     Site Design     Server Maintenance     Powered by Zope
©2007 MindView, Inc.