News for hackers. Stuff that matters.
Re:Should Go 2.0 support generics? by z1mm32m4n on Saturday July 22, 2017 @04:11PM (#14829090)
There's no amount of union types that will save you if you want to write a polymorphic, type safe map/filter/reduce function. These functions need to be generic over containers.

At best, with this union type hack what you'll recover is similar to "ad hoc" polymorphism, not true parametric polymorphism.

There are no comments on this comment yet.