3 ms·
Consider variadic arguments for such cases.
by everybodyknows 4y ago
Consider variadic arguments for such cases.
- sidlls 4y agoThere is a group of developers where I work who would take a perfectly fine `New(…*Options)` constructor and write a whole suite of “option wrapper” “utilities” around it, rather than expose that function. It makes me tear up a little (not in a good way).