Link Details

Link 110293 thumbnail
User 252611 avatar

By Thierry.Lefort
via developer.com
Published: Sep 05 2008 / 16:00

Like many design patterns, the abstract factory pattern and the builder pattern appear very similar in terms of their class structure. They are both creational patterns used to construct complex object families. However, the builder pattern has an emphasis on step-by-step construction of each part of the composite structure, whereas the abstract factory is designed to return a constructed object immediately.
  • 15
  • 1
  • 1041
  • 276

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.