3 ms·
The thing I really don't like about the builder pattern is that it obscures the possibility space. With named arguments/defult parameters, you know exactly wha
by skohan 5y ago
The thing I really don't like about the builder pattern is that it obscures the possibility space. With named arguments/defult parameters, you know exactly what the fields are you need to consider. With builders, you can wander into an unfamiliar codebase, and you have to read through all the methods on this builder object to understand what's going on.
- davidatbu 5y agoDoes autocomplete (ie, pressing "." and waiting for the IDE) help with that?