Re:What is wrong with NULL
by dradtke on Monday August 31, 2015 @05:31PM
(#10149226)
I also think that Go did pretty well to fix NULL. It didn't get rid of it completely, but it (nil) is only valid for pointers and interfaces, so it's not possible to use it in place of a string, integer, etc. It's not as bulletproof as Rust or Haskell, but something as simple as disallowing nil strings can make a world of difference.
[ Parent
| on HN ]
This is what C does, so I don't think Go deserves much credit for innovation on this point...