3 ms·
>To me, as a C# dev, this proposed change seems rather quick (let C#6 get some use first) ... Not really. The non-nullable references feature request has been
by jasode 11y ago
>To me, as a C# dev, this proposed change seems rather quick (let C#6 get some use first) ...
Not really. The non-nullable references feature request has been on the radar for many years. (E.g. this July 2009 stackoverflow post[1]). There are also some very old MS channel9 videos where Anders Hejlsberg acknowledged that the community wants this safety feature and discusses the difficulties of implementing it. I don't have a link to the video but this 2008 stackoverflow post mentions a Computerworld interview on the topic.[2]
Non-nullable references is not a shoot-from-the-hip feature addition, and the C# team has been thinking about it for a very long time
[1]http://stackoverflow.com/questions/411906/c-sharp-net-design-flaws http://stackoverflow.com/questions/411906/c-sharp-net-design...
[2]http://stackoverflow.com/a/178090 http://stackoverflow.com/a/178090