Session

Brave New Nullless World in C# 11

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.

This talk was presented in several forms since 2017. The last presentation was at the Update Conference Prague, in November 2022 (https://www.updateconference.net/en/2022/schedule).
The content was evolving as the language was evolving. By the time of the conference, the materials will be fully compliant with .NET 7 and C# 11, demonstrating the latest pieces of syntax in the light of suppressing nulls.

Zoran Horvat

Principal consultant at Coding Helmet s.p.r.l.

Belgrade, Serbia

View Speaker Profile

Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.

Jump to top