Go 2 generics counterproposal: giving up restricting types
"I want to make a generic function which works on any type that satisfies these and these constraints."
When we think about generics, this is the sort of problem that pops up into our minds. The critical part is restricting the set of types our function intends to work on. Trying to solve this problem of restriction has led people to what I call reasons why we hesitate to have generics in Go.
C++ templates with horrific error messages, or even it's new concepts, Java's
T extends Comparable<T>, Rust's generic traits, Haskell's type classes, and sadly even contracts from the [original generics proposal by the Go Team](https://go.googlesource.com/proposal/+/master/desig