3 ms·
Go doesn't stop you from building datastructures, actually is really nice for building datastructures. It simply doesn't provide a simple way to build some kin
by luriel 14y ago
Go doesn't stop you from building datastructures, actually is really nice for building datastructures.
It simply doesn't provide a simple way to build some kinds of generic datastructures, but when the ones provided by the language are not enough it usually means your problem is specialized enough that a custom datastructure is best anyway, and Go makes that pleasant and easy.
And then there are interfaces, which are a kind of "generics" of their own.