3 ms·
In 97.5% of case, the `nil` value of Go types follows the NullObject pattern. There's really just nil pointers that are still equivalent to `null`, and their a
by AYBABTME 13y ago
In 97.5% of case, the `nil` value of Go types follows the NullObject pattern.
There's really just nil pointers that are still equivalent to `null`, and their absence would be an abnormality, as there's no reason why a pointer couldn't have a nil representation.