Be Expressive: Null Handling
Null handling in C#
Sep 10, 20257 min read74

Search for a command to run...

Series
Null is a billion-dollar mistake. This two-part series explores why nulls pollute code and how C# tools like value types, Option, and nullable references help us design absence explicitly and write safer, expressive code.
Null handling in C#

Introduction Null reference exceptions are the norm, they are not exceptional. For many developers, handling nothing (null) has become a mundane routine built into the mind's muscle memory. A few "if" statements there, a guard condition here, and yet...
