News for hackers. Stuff that matters.
Re:Golang generics proposal has been accepted by cies on Wednesday February 10, 2021 @04:08PM (#26094823)
If I return a struct pointer in C, I can also return null. The return type does not communicate this to me: this is what I call implicit nullability.

It is just a bad contract, as it is often misunderstood, and it allow for runtime errors that could easily have been caught at compile time.

There are no comments on this comment yet.