News for hackers. Stuff that matters.
Re:Golang: How to Update APIs for Generics by jcelerier on Thursday September 16, 2021 @04:52AM (#28549484)
> I'm going to go out on a limb and suggest that we use the Of suffix for generic container types

do people ever learn anything.. conventions don't work, only things checked by the language grammar matter

Re:Golang: How to Update APIs for Generics by tazjin on Thursday September 16, 2021 @05:07AM (#28549557)
This is explicitly the language for not learning things we've figured out over the last decades so ... no ;-)
Re:Golang: How to Update APIs for Generics by SPBS on Thursday September 16, 2021 @06:17AM (#28549905)
Doesn't matter, the standard library simply has to set a consistent example for people to follow. They can choose to ignore it.
Re:Golang: How to Update APIs for Generics by pjmlp on Thursday September 16, 2021 @05:47AM (#28549745)
Given that some of the language designers had the same approach for safety in C versus the existing alternatives, yep people don't learn much.