3 ms·
Go can statically type check hash maps, arrays, and channels. If you want some other container type it must be written with a concrete element type in mind.
by anonymoushn 8y ago
Go can statically type check hash maps, arrays, and channels. If you want some other container type it must be written with a concrete element type in mind.
- jjoonathan 8y agoWait, really? The language designers gave themselves (effective) generics and then kicked down the ladder afterwards so that other container implementers couldn't follow? That's hilarious.
- ckocagil 8y agoYes. And yes.
- skj 8y agoWhy does it need to be fair? Serious question.
- jjoonathan 8y agoIt doesn't, obviously, it's just hypocritical and patronizing.