Open outcatcher opened 2 years ago
We can't do it right now, because we use ValueSpecs
to extend struct
If you know the Entity Framework, you can also find many interfaces with only one global implementation.
Not my problem anymore, but if you see someone using some approach, it doesn't matter it fits your cases — every approach has pros and cons, it's common to select approach fitting your needs 🤷♂️
@outcatcher For me personally, I define their interfaces before I implement the functions and then do next.
I suppose both approaches are generally okay (though I personally prefer the simplest/with the least code). So that was a question if another way can be adopted — to be discussed whenever it should be closed or added to a backlog as a future plan.
According to the discussion, we consider it redundant so it will be gradually cleaned up.
In most cases
<Smth>Builder
interface has only one implementation, so this seems to be redundant in this case.Pros in having interfaces:
nil
value is always correct inputCons in having interfaces: