Re:Go is Google's language, not ours
by baby on Wednesday May 22, 2019 @11:05AM
(#19981974)
It would objectively have made Golang harder to read. Can we agree on that? People tend to abuse generics.
[ Parent
| on HN ]
Re:Go is Google's language, not ours
by erik_seaberg on Wednesday May 22, 2019 @02:29PM
(#19984033)
Uses of https://golang.org/pkg/sync/#Map are objectively harder to read than if they allowed a library to implement a type that conforms to builtin map[K]V. Instead you have to learn method names and cast return values, and builtin maps don't even support those methods.