Re:What Golang Is and Is Not
by pcwalton on Sunday August 21, 2016 @01:37PM
(#12331803)
> I wish it would do away with nil/null.
I don't think that's possible to retrofit onto a language. Best you can do is to add non-nullable types. But zero values are so core to Go's semantics that I kind of doubt it's possible to even add those in a sensible way.
I don't think that's possible to retrofit onto a language. Best you can do is to add non-nullable types. But zero values are so core to Go's semantics that I kind of doubt it's possible to even add those in a sensible way.