Scala, Design Patterns, Programming, Builder Pattern, Coding.
builder class, using class methods rather than class constructors. Through its methods the builder stores the parameters from the client until building the product. This pattern is particularly useful in case many fields might not be known or required, as multiple versions of the constructor would