Hacker News new | ask | show | jobs
by grey-area 1652 days ago
I think they did this really quite elegantly by extending the interfaces abstraction.

Personally I would discourage overuse of generics in an application codebase as I’d discourage overuse of interfaces, concurrency or channels - they have their place in certain areas (for generics e.g. collections, orms - mostly in library code) but most of the time simply aren’t required.