Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Why Generics?. Parent comment
Interfaces are boxed already, so you've paid the price without having type safety. Simply treat a polymorphic function as if it accepted interface{}.
There are no comments on this comment yet.
Interfaces are boxed already, so you've paid the price without having type safety. Simply treat a polymorphic function as if it accepted interface{}.