#02 Brave New Nullless World in C# 10
Beyond nullable (I mean: non-nullable) reference types, null coalescing and null propagation operators in C#, closing the outer door for nulls in only the first step in securing your models from missing and nonexistent objects. A much larger work is only to begin, and that is to develop a proper object model which never issues a null, nor ever fails due to receiving one from the outside.
In this session, we will outline the place for the null-related C# syntax in domain modeling. Then, we will revisit often overlooked patterns: polymorphic models and optional objects. With these tools put together and enforced with latest language syntax, you will never want to return to using null references.
In this session, we will outline the place for the null-related C# syntax in domain modeling. Then, we will revisit often overlooked patterns: polymorphic models and optional objects. With these tools put together and enforced with latest language syntax, you will never want to return to using null references.