News for hackers. Stuff that matters.
Re:The history of C# and TypeScript with Anders Hejlsberg | ... by wvenable on Sunday February 01, 2026 @01:27PM (#46848149)
All non-generic container classes and nullable reference types.
Re:The history of C# and TypeScript with Anders Hejlsberg | ... by hirvi74 on Sunday February 01, 2026 @02:32PM (#46848649)
> 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.

Re:The history of C# and TypeScript with Anders Hejlsberg | ... by wvenable on Sunday February 01, 2026 @04:12PM (#46849413)
The 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.

Re:The history of C# and TypeScript with Anders Hejlsberg | ... by jborean93 on Sunday February 01, 2026 @03:51PM (#46849251)
I 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.