Hacker News new | ask | show | jobs
by sixthloginorso 4538 days ago
So... if you need any data structure other than an array, a hash table or a channel, you should skip Go and find some other language? That's kind of limited.
1 comments

No, the problem is that he needed Sets of many different kinds. It's perfectly straightforward to implement data structures in Golang; it's just hard to make them work for a variety of types simultaneously.
> it's just hard to make them work for a variety of types simultaneously.

That's sort of what you expect from any given implementation of a data structure and its related algorithms, though I imagine that some specialized implementations benefit from having them tailored to their concrete types. Examples, anyone, please?