Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 537 Bytes

File metadata and controls

17 lines (11 loc) · 537 Bytes

java builder pattern

Accompanying the blog post on a Java Builder Pattern.

You find the blog post here: http://blog.crisp.se/2013/10/09/perlundholm/another-builder-pattern-for-java

Destruct pattern

I have added a destruct pattern based on similar ideas as the builder pattern.

Secure By Design

An excellent book that emphasis good domain modelling and transferring that to strict coding. It has an example builder in chapter 6 which I have styled according to this pattern. It gives the advantage of compile time checking.