Blog11.8K views4,831 votes1 reply1 comment2,293 following
Adopting Nullable Reference Types in .NET 8: From Runtime Crashes to Compile-Time Safety
Enabling nullable reference types in .NET 8 turns runtime NullReferenceExceptions into compile-time warnings. Here's how to adopt it incrementally in a legacy codebase with a concrete example and the trade-offs to watch.