3 ms·
> The Go community seems to agree that generics would be useful at least in some situations, but that many of the criticisms are exaggerated The general consen
by chimeracoder 10y ago
> The Go community seems to agree that generics would be useful at least in some situations, but that many of the criticisms are exaggerated
The general consensus from the Go developers is probably best summarized as "Generics are useful, but each of the implementation methods we have seen so far have significant tradeoffs, and the benefits are outweighed by the costs of the methods we've seen."
Which isn't to say that Go will never see generics, if someone finds the right way to implement them.
- sanderjd 10y ago> "Generics are useful, but each of the implementation methods we have seen so far have significant tradeoffs, and the benefits are outweighed by the costs of the methods we've seen." I think what people tend to disagree with is the last part. There is a lot of leeway in estimating the costs and benefits and people end up with very different estimates.