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 ...
It doesn’t take much Java development experience to learn firsthand what the NullPointerException is about. In fact, one person has highlighted dealing with this as the number one mistake Java ...