3 ms·
The other advantage to this pattern is that you can create a generic interface out of this. With the N-params pattern it is not possible to create an interface
by simianwords 2y ago
The other advantage to this pattern is that you can create a generic interface out of this.
With the N-params pattern it is not possible to create an interface on this method because the types of each param may be different across different implementation.