You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just an idea: I figured that renaming sort.Interface to sort.Sortable would make a lot more sense, at least to me. I thought it's confusing as it is as I originally thought the documentation referred to a reflect.Interface instead of sort's own Interface type.
The text was updated successfully, but these errors were encountered:
I think the breakage of the code is not worth the benefit it brings. For Go2, we usually consider breaking changes when the benefit overweighs the cost it extracts.
agnivade
changed the title
Rename sort.Interface to sort.Sortable?
proposal: sort: rename sort.Interface to sort.Sortable?
Mar 13, 2019
What version of Go are you using (
go version
)?go version go1.12 linux/amd64
Just an idea: I figured that renaming
sort.Interface
tosort.Sortable
would make a lot more sense, at least to me. I thought it's confusing as it is as I originally thought the documentation referred to areflect.Interface
instead ofsort
's ownInterface
type.The text was updated successfully, but these errors were encountered: