News for hackers. Stuff that matters.
Re:Generics aren't ready for Go by dana321 on Monday February 18, 2019 @09:30AM (#19190761)
interface{} is the equivalent of C++17's std::any, of which you can put anything including vector (slice) and maps.

If you really want high performance with many different types of a function, its a case of copy-paste-modifying your code.

Its a language that is straight-forward, its the antitheisis of tmtowtdi.

There are no comments on this comment yet.