3 ms·
"Boxing" just means storing a (possibly tagged) pointer to a value rather than the value itself. It has nothing specifically to do with generics. But yeah, I s
by foldr 8y ago
"Boxing" just means storing a (possibly tagged) pointer to a value rather than the value itself. It has nothing specifically to do with generics.
But yeah, I share your concern. It would be nice to have a better way to write container types in Go, but generics always seem to end up getting abused.