News for hackers. Stuff that matters.
Re:Golang generics proposal has been accepted by Kranar on Wednesday February 10, 2021 @03:53PM (#26094620)
C11 added _Generic as a way to write generic functions, for data structures people use the preprocessor to code-gen instantiations of generic code.

Rob Pike has nothing against generics and never expressed criticism of them. His concern was always fairly practical; among the numerous forms of generics that exist among different languages, and the significant variation and rapid evolution of them, how can such a feature be safely added to the language?

There are no comments on this comment yet.