Re:Everyday hassles in Go
by falcolas on Tuesday December 30, 2014 @11:12AM
(#8815134)
And most people are asking for generics to write libraries which don't rely on unblocking interfaces.
Even in the process of writing a single program, there are a number of times where you reuse certain bits of logic, and having generics makes it easier to refactor those into a single function, instead of duplicate code with multiple types (or overly generic types).
Even in the process of writing a single program, there are a number of times where you reuse certain bits of logic, and having generics makes it easier to refactor those into a single function, instead of duplicate code with multiple types (or overly generic types).