While the builder pattern constructors read nicely, they allowed you to create code that would compile fine and then fail at runtime. After experimenting with this, I decided that boring and slightly ugly code that is safer is better than fancier code that is less safe.
While the builder pattern constructors read nicely, they allowed you to create code that would compile fine and then fail at runtime. After experimenting with this, I decided that boring and slightly ugly code that is safer is better than fancier code that is less safe.