How many constructor arguments is too many? [closed]
Two design approaches to consider The essence pattern The fluent interface pattern These are both similar in intent, in that we slowly build up an intermediate object, and then create our target object in a single step. An example of the fluent interface in action would be: public class CustomerBuilder { String surname; String firstName; … Read more