On Wed, Jan 23, 2019 at 1:09 PM Victor Giordano <vitucho3...@gmail.com>
wrote:

> 0 != nil

I don't understand what is has to do with what I wrote. Your example is not
a valid Go expression. Not all types have nil values.

Let me reiterate: A nil value of a type is always equal to the zero value
of that type. Because zero value of a type is well defined, a nil value of
a type is also well defined.

-- 

-j

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to