Skip to content

[๐ŸŒ Online] Null & Void - Everything about Nothing in .NET with Stefan Pรถlz

Photo of Kevin Smith
Hosted By
Kevin S. and Sakis K.
[๐ŸŒ Online] Null & Void - Everything about Nothing in .NET with Stefan Pรถlz

Details

Null & Void - Everything about Nothing in .NET with Stefan Pรถlz

โ—โ— ๐ŸŒ This is an online event, we'll be hosting the event on Zoom, the link for the meeting is below, however, we'll only announce the password just before the event.

๐Ÿ”— https://us02web.zoom.us/j/81183120103
๐Ÿ”‘ 12A35F

๐Ÿ“… Agenda

  • ๐Ÿ‘‹ Welcome
  • ๐Ÿ—‘๏ธ Housekeeping
  • ๐Ÿ‘จโ€๐Ÿซ Null & Void - Everything about Nothing in .NET
  • ๐Ÿป Virtual Bar

๐Ÿ‘‰ Null & Void - Everything about Nothing in .NET
System.NullReferenceException: 'Object reference not set to an instance of an object.'
I used to read this message quite almost every day.
But null references, also referred to as the "billion-dollar mistake" in that context, are also a great mechanism to express optionality and unavailability of a certain resource.
There are great tools to help us deal with... utilize null pointers.
IDEs and Analyzers have introduced diagnostics which warn us at compile time about potential trouble at runtime.
And recently the magnificent C# 8.0 has brought us nullable reference types: a language feature which lets us annotate our API to clearly communicate the design intent of nullability.
So let's explore nullable reference types (including the accompanying nullable attributes of the BCL), their representation in both Reflection Metadata and the Roslyn API, and complement that with other available keywords and operators based on null. As a side effect, we will learn about the fundamental difference of nullable reference types and nullable value types in .NET. Additionally, we shall discover an alternative to null while still retaining the semantics of "nothing" - Spoiler: the null object pattern.

๐Ÿ‘จโ€๐Ÿ’ป Stefan Pรถlz
Clean C# Coder โ€“ Test-driven .NET Developer
My passion is to practice Clean Code and test-driven development in order to build maintainable software in an ever-evolving team, supported by tools from the .NET Ecosystem. I love to attend and speak at public developer events and author open source projects, complementing my expertise in professional software development.

Twitter: @0x_F0
LinkedIn: https://www.linkedin.com/in/stefan-p%C3%B6lz-068a271a1

Photo of dotnetsheff group
dotnetsheff
See more events
Online event
This event has passed