What’s New in Go 1.21 – A Comprehensive Notes(medium.com)
medium.com
What’s New in Go 1.21 – A Comprehensive Notes
https://medium.com/lyonas/whats-new-in-go-1-21-a-comprehensive-notes-96017750b390
https://medium.com/lyonas/whats-new-in-go-1-21-a-comprehensive-notes-96017750b390
https://pkg.go.dev/cmp@master
I find this part of the type constraint design particularly lame. Here one can't extend the constraint over an arbitrary type, making the cmp.Ordered pretty useless. And that seems like a severe language limitations since one can't implement a constrain of a kind: