News for hackers. Stuff that matters.
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.
Re:What is wrong with NULL by tines on Monday August 31, 2015 @06:01PM (#10149349)
This is what C does, so I don't think Go deserves much credit for innovation on this point...
Re:What is wrong with NULL by azth on Tuesday September 01, 2015 @05:42PM (#10155962)
Go didn't really fix anything when it comes to NULL. The defense the Go authors gave to keep it around was laughable.