4 ms·
The Go team never said it didn't matter. They said they wanted to think through the right design.
by wbl 5y ago
The Go team never said it didn't matter. They said they wanted to think through the right design.
- eitland 5y agoWaiting for half a decade is a fairly effective way to tell me at least that they didn't exactly care very much about it, but it could of course be that they cared so deeply about it that they had to wait until recently before they felt it was good enough. I don't think so however and here is what Russ Cox wrote about it in 2017: > For example, I’ve been examining generics recently, but I don’t have in my mind a clear picture of the detailed, concrete problems that Go users need generics to solve. As a result, I can’t answer a design question like whether to support generic methods, which is to say methods that are parameterized separately from the receiver. (from https://go.dev/blog/toward-go2 https://go.dev/blog/toward-go2) At least the way I read the above it comes off as "doesn't matter".