5 ms·
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.
by sixthloginorso 13y 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.
- tptacek 13y agoNo, 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.
- sixthloginorso 13y ago> 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?