News for hackers. Stuff that matters.
Re:Generics aren't ready for Go by latronic_notron on Monday February 18, 2019 @01:45PM (#19193076)
Go has interface{}, which can be abused as much as generics for the same purpose, but without the type safety, hence, less secure.

And nobody is advocating C++ style template metaprogramming. There are much better implementations of generics, as acknowledged by Russ Cox himself.

Re:Generics aren't ready for Go by throwaway415415 on Monday February 18, 2019 @04:50PM (#19194805)
Usually interface{} is abused by java programmers. I agree that it's not great, but if you don't come from java or c++ chances you won't follow these patterns at least.