Rafael rambling: Type-safe Builder Pattern in Scala
Rafael rambling: Type-safe Builder Pattern in Scala Wednesday, July 09, 2008 Type-safe Builder Pattern in Scala The Builder Pattern is an increasingly popular idiom for object creation. Traditionally, one of it's shortcomings in relation to simple constructors is that clients can try to build incomplete objects, by omitting mandatory parameters, and that error will only show up in runtime.
The Builder Pattern is an increasingly popular idiom for object creation. Traditionally, one of it's shortcomings in relation to simple cons...