Sign in Go Pro

Design Patterns

The Builder Pattern

 

Up next

About

In this lesson, we are going to explore the Builder pattern. The Builder pattern is used to create complex objects (or objects with a huge number of parameters) without the need of a complex logic or to remember the exact order and meaning of all the parameters.

In this lesson you will learn ...

  • What the Builder pattern is
  • How to refactor an existing class to make use of the builder
  • How to use the builder with and without fluid syntax
  • Where the Builder is used on Android

Links

Builder Pattern - Wikipedia

Source code

Sample code

Instructor

Links

Comments

There are no comments on this lesson, start the conversation below ...

>
You need to go PRO to post comments.

Lessons in Design Patterns