6 ms·
What would you take out of C# etc?
by appsoftware 8mo ago
What would you take out of C# etc?
- littlecranky67 8mo ago(not OP) I would take out mostly historic stuff, that is in there for backwards compat, that has been superseeded. But this could be achieved using linters.
- wvenable 8mo agoAll non-generic container classes and nullable reference types.
- hirvi74 8mo 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 8mo 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 8mo 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.