Re:Things Go needs more than generics
by welder on Monday October 04, 2021 @11:02AM
(#28747607)
I was only talking about pointers and interfaces, not primitive types. Yes A and B can't be nil, but I was only talking about C. Pointers (C) are what cause crashes in Go programs when using them without checking if they're nil first.
[ Parent
| on HN ]
There are no comments on this comment yet.