Tag Archives: Bloch

Builder Pattern

In Joshua Bloch’s ‘Effective Java’, the author discusses the use of the builder pattern as a way to efficiently instantiate an object which has many parameters (some mandatory, some optional). We’ll first look at two alternatives (Telescoping and Java Beans) before looking at the builder pattern.
Read full article