Re:The Logical Disaster of Null
by qu4z-2 on Thursday May 10, 2018 @07:20PM
(#17043732)
Do you know how they're solving the problem of the language expecting a `default(T)` to exist for every type?
[ Parent
| on HN ]
You can get a pretty complete overview at https://blogs.msdn.microsoft.com/dotnet/2017/11/15/nullable-...
But essentially they're not solving it: you will get a warning on explicit default-ing of a non-nullable reference, you will get a warning on implicitly initialising/defaulting class fields, but you will not get warnings when doing so for structs or arrays.