Archive for November 22nd, 2009

Sunday, November 22nd, 2009

Builder Pattern in Java

I have been reading Effective Java by Joshua Bloch and learned something new so I wanted to try it out.
Making long parameter lists in your constructor is not fun and prone to errors. Previously I thought that best way to handle this situation was to make a bunch of setter methods. This can get kind [...]

No Comments » - Posted in java, patterns by nola