O'Reilly logo
  • Li Xie thinks this is interesting:

Builder

From

Cover of Head First Design Patterns

Note

avoid telescopic constructor and enforce consistency check upon build. the target is defined as a pojo with set methods. but we probably don't want the client to new a target and set attributes as no check there. use builder.