News for hackers. Stuff that matters.
Re:The Next Step for Generics by xscott on Tuesday June 16, 2020 @08:36PM (#23546231)
> I like generics for collections but that is about it.

What about algorithms (sorts, folds, etc) on those containers? I write a lot of numerical code. It sucks to do multiple maintenance for functions that work on arrays of floats, doubles, complex floats, and complex doubles. Templates/Generics are a huge win for me here. Some functions work nicely on integer types too.

Re:The Next Step for Generics by marcus_holmes on Wednesday June 17, 2020 @12:52AM (#23547942)
I think this is probably the single best use case for Generics for Go - numerical operations on the range of number types.