3 ms·
> Providing a generic `sort`, `reverse`, and a few others would cover 90% of the cases mentioned in every "Go needs generics!!" article. That's only because th
by lawn 4y ago
> Providing a generic `sort`, `reverse`, and a few others would cover 90% of the cases mentioned in every "Go needs generics!!" article.
That's only because the articles would be too long otherwise.
When I worked in a language without user defined generics I missed them all the time, and now when I work with Rust I use them all the time.