3 ms·
It could be a special-cased builtin like maps and slices and channels. AFAIK the reason — much like C# — is their adherence to the concept of ubiquitous defaul
by masklinn 8y ago
It could be a special-cased builtin like maps and slices and channels.
AFAIK the reason — much like C# — is their adherence to the concept of ubiquitous defaults / zero values: as far as Go is concerned all types have a zero-value (a non-overridable default value when not explicitly initalised), and as far as its community is concerned zero values are a good thing and must be embraced.