Re:Golang generics proposal has been accepted
by cies on Wednesday February 10, 2021 @03:34PM
(#26094371)
Exactly. It was IMHO pretty authoritarian to say "you dont need generics" and then use it yourself in the standard lib.
But then Go is not a public place: it's private domain of Google.
I decided long time ago I dont want to learn a private tool without being paid.
Re:Golang generics proposal has been accepted
by piinbinary on Wednesday February 10, 2021 @03:33PM
(#26094367)
And a separate copy of `append` for every possible type :)
If generics were unnecessary, why did the stdlib/language need them? Couldn't they just have lived with, e.g., make_map, make_slice, make_chan, etc?