Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Having fun with Go's nil, interfaces and errors. Parent comment
When a nil value is converted to an interface, it carries type information. When an interface carries type information, it isn't nil.
There are no comments on this comment yet.
When a nil value is converted to an interface, it carries type information. When an interface carries type information, it isn't nil.