3 ms·
> I'm also uncertain whether scalars (e.g. integral types) can be used through interface{}. They can (and there are optimizations to avoid heap allocation in s
by pcwalton 13y ago
> I'm also uncertain whether scalars (e.g. integral types) can be used through interface{}.
They can (and there are optimizations to avoid heap allocation in some cases when you do use them), but you still have to write downcasts everywhere.