Recommended design pattern for object with optional and modifiable attributtes? [on hold]
- by Ikuzen
I've been using the Builder pattern to create objects with a large number of attributes, where most of them are optional. But up until now, I've defined them as final, as recommended by Joshua Block and other authors, and haven't needed to change their values.
I am wondering what should I do though if I need a class with a substantial number of…