On Thursday, March 18, 2021 at 1:53:30 PM UTC+1 ren...@ix.netcom.com wrote:

> One other point on this. Generics will be trivial for 95% of the people - 
> they will only need to be able to read and write the instantiation 
> statements of type safe collections. 
>
> Most developers don’t write the generic implementations - these are 
> provided by library authors. 
>

That is an unsupported claim. I've waited for Go to have generics for the 
simple case of having compile time type safety of registry patterns instead 
of copying my code x times for resorting to go:generate. It just makes life 
much easier.

As I’ve said before, I would of taken a more go-like approach - generics 
> seem too technical for most go developers - but in the end they will be a 
> net benefit. 
>

The community has tuned and chosen the approach. The discussion of type 
params imho proves that "no good" designs are iterated until they are 
acceptable to a majority. You can support these discussions.

Cheers

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/56ebe8cc-ab0d-40d4-b478-a7bc92bc321an%40googlegroups.com.

Reply via email to