3 ms·
Or the ability to write collections in the first place, as enabled by generics. You can't even write a collection in Go unless you're dealing with interface{}
by jbooth 13y ago
Or the ability to write collections in the first place, as enabled by generics. You can't even write a collection in Go unless you're dealing with interface{} or unsafe.Pointer and casting a lot.
I really like the language, enough to use it and work around the lack of generics, but that's a glaring weakness. They need some way to enable container classes.