Re:Typed nils in Go 2
by EdiX on Friday August 11, 2017 @05:34AM
(#14987971)
https://play.golang.org/p/rfq52ZmLPS
[ Parent
| on HN ]
Re:Typed nils in Go 2
by dullgiulio on Friday August 11, 2017 @06:02AM
(#14988089)
My question misses the important words "a situation where it makes sense."
As I wrote below:
Ignoring the compatibility guarantee for the sake of discussion, I feel that nobody would notice if the compiler tomorrow started short-circuiting the equality check of interfaces against nil to return true if either tuple value is nil. But maybe I'm missing some use-case.