Re:Down the Golang Nil Rabbit Hole
by morelisp on Tuesday March 30, 2021 @02:34AM
(#26631738)
Yes, even when I expect nil receivers because I'm adding a method to a map or slice type, checking for nil is usually the wrong pattern (vs. 2ary lookup or len, etc).
[ Parent
| on HN ]
There are no comments on this comment yet.