My objects have a lot of required parameters, but ...
# dsl
w
My objects have a lot of required parameters, but i have functions which call those constructors in opinionated ways, and those functions are the Dsl language basically. One thing I did in a few cases is move the parameter to a var property with a default value, and then add functions to the class to switch it to the different opinionated values, and then my opinionated functions can all use the same constructor call, and then just call the functions to apply the opinions