In the current series of posts I am writing on reducing the number of parameters required to call Java methods and constructors, I have focused so far on approaches that directly affect the parameters ...
The result: A lot of if statements! And you have to type them all! Now imagine that the number of validations increases from 10 to 25 because 15 new use cases must be implemented in the next iteration ...