Closed mvdan closed 5 years ago
Agreed on the stutter. I've personally never really liked sort.Interface
, although there is value in consistency. As an effort to find something better, what do you think about...diff.AB
? diff.Comparable
? diff.Pair
? diff.Input
?
I like diff.Pair
:)
We have
sort.Interface
in the standard library. Why go fordiff.Diffable
instead ofdiff.Interface
? The former seems to stutter a bit.On the other hand, we already have two interfaces here, while package
sort
only has the one.