Monthly Archives: January 2015

Builder pattern for mandatory values

I found an interesting blog post for using the builder pattern with mandatory values. In short it uses the common builder pattern, but adds an twist by using interface to force which value to set next and thereby solving the problem with many mandatory values. I will demonstrate the problem with the common builder and… Read More »