Scala, Design Patterns, Programming, Builder Pattern, Coding.
instantiated satisfies the validation there are implemented some types, the HasTitle and HasAuthor types. Both inherit from BookConstraint which is a type that is used as the generic type on the BookBuilder. These constraints are declared as sailed in order for them to not be extended outside the