2 ms·
> nullable reference types. What would you suggest instead? I quite like the nullable reference types, but I do know many get annoyed. My brain is often a scur
by hirvi74 9mo ago
> nullable reference types.
What would you suggest instead? I quite like the nullable reference types, but I do know many get annoyed. My brain is often a scurry of squirrels, so I grew to become thankful for the nullable refs overtime.
- jborean93 9mo agoI don't mind NRT but I hate dealing with C# projects that haven't set < Nullable>Enable</Nullable> in their csproj. It's not perfect because I know at runtime it can still be nullable but it's nice when the compiler does most of the checks for you.
- wvenable 9mo agoThe compiler now mostly solves this now but the abstraction is a little leaky. I heavily use nullable types but I always want them to be declared nullable.