|
|
|
|
|
by jbreckmckye
233 days ago
|
|
As a Go learner, the best explanation that has made sense to me is that interface types essentially just compose two pointers: P1: The type and its method vtable P2: The value Once I understood that I could intuit how a nil Foo was not a nil Bar and not an untyped nil either |
|
willem-dafoe-head-tap.gif