News for hackers. Stuff that matters.
Re:Nil in Go is typed in theory and sort of untyped in practice by eptcyka on Wednesday March 31, 2021 @06:06PM (#26653755)
A pointer to a type that implements an interface can be nil, but a function that takes said pointer as an interface type will not be able to distinguish between a pointer that points to an allocated object and a nil one.

There are no comments on this comment yet.