Closed cthoyt closed 2 years ago
Not sure. The point is that the constructor and make_model can take different arguments and have different semantics. Sure, a shortcut can be useful in some cases but not critical.
Alright, I'll close this (it can also be accomplished with a helper function)
Adding a base assembler class allows for other assemblers to inherit some shared functionality (or at least unify the interface a bit).
For example, I find myself doing this quite a bit:
And with the base class, it's possible to just do