News for hackers. Stuff that matters.
Re:Seven years of Go by jerf on Thursday November 10, 2016 @11:55AM (#12922016)
I agree; I want non-nillable types in Go. This despite the differences in Go that makes nil values more "valid" than they often are in other languages.

I still faintly hold out hope. Unlike many of the complaints about Go that would require fundamental restructuring, C# showed that actually can be retrofitted onto a language without breaking it.

Re:Seven years of Go by pcwalton on Thursday November 10, 2016 @12:19PM (#12922230)
> Unlike many of the complaints about Go that would require fundamental restructuring, C# showed that actually can be retrofitted onto a language without breaking it.

C# added nullable types. Not non-nullable types.

In Go, the concept of zero values is so fundamentally baked into the semantics that non-nil pointers can never really be added to it.

Re:Seven years of Go by stcredzero on Thursday November 10, 2016 @02:59PM (#12923716)
I'd just make my own uninitialized type in Go. In fact, I think I've done it. I'd guess you'd want to avoid the boilerplate.