4 ms·
> every interface being zeroable seems to be embedded quite deeply in the language. Not just every interface, every single type. And it’s at the very core of t
by masklinn 2y ago
> every interface being zeroable seems to be embedded quite deeply in the language.
Not just every interface, every single type. And it’s at the very core of the language. For any type T you can name, you can write
var v T
And it’ll give you a v you can interact with, no opt out. You can barely opt out of implicit shallow copies via hacks based around lock method names.