Re:How generics are implemented in Go 1.18
by foldr on Wednesday March 02, 2022 @11:23AM
(#30529053)
>Their initial position was "why would you even need generics? Please provide us a usecase"
Do you have a source for this? It doesn't match my recollection. As I recall, the Go team always said that they may add generics in the future, but also that they would also like to see compelling use cases for it. That is not an unreasonable request.
Re:How generics are implemented in Go 1.18
by LaPingvino on Wednesday March 02, 2022 @03:18PM
(#30532482)
They have mentioned that you don't really need it as an explanation after they already said for a long time that they do consider it, from the start. They never strayed from that POV.
Re:How generics are implemented in Go 1.18
by saturn_vk on Wednesday March 02, 2022 @02:06PM
(#30531403)
This has never been the case, and stating it as a fact is a big lie
Re:How generics are implemented in Go 1.18
by kerkeslager on Wednesday March 02, 2022 @10:41AM
(#30528539)
Exactly.
That was not the initial team position. Their initial position was "why would you even need generics? Please provide us a usecase". They actively denied there was a need for generics.