Nullable Reference Types in C# 8
Offered By: GOTO Conferences via YouTube
Course Description
Overview
Explore nullable reference types in C# 8 through this comprehensive conference talk by Jon Skeet at GOTO Copenhagen 2019. Dive deep into the syntax, purpose, and expectations of this major feature, including potential surprises. Learn about nullable local variables, arrays, strings, and variables, as well as the efficiency of null and how to handle null reference exceptions. Discover the null-forgiving operator, precondition tests, and the responsible approach to warnings as errors. Gain insights on unguarded mutation, copypaste issues, and the implications of non-nullable references. Understand the concept of nullable strings, default values, and annotations while considering whether the CLR could have changed to accommodate this feature.
Syllabus
Intro
Person Type
Null Exception
Warnings
Middle
Big Takeaways
Nullable Local Variable
Nullable Array
Nullable Strings
Nullable Variables
Null is Efficient
Nullable Reference Types
Null Reference Exception
Unguarded Mutation
Precondition
Test
Damnit Operator
Null Exceptions
Copypaste
Throw
Null forgiving operators
String is null
Nullable String
TryGateValue
DefaultValue
Not Null
Could the CLR have changed
Warnings as errors
Responsible attitude to take
Not nullable
Not nullable ref
Annotations
Taught by
GOTO Conferences
Related Courses
Addressing Algorithmic BiasGOTO Conferences via YouTube Empowering Consumers - Evolution of Software in the Future
GOTO Conferences via YouTube Why Static Typing Came Back
GOTO Conferences via YouTube Higher Kinded Types in a Lower Kinded Language - Functional Programming in Kotlin
GOTO Conferences via YouTube It's Not Hard to Test Smart - Delivering Customer Value Faster
GOTO Conferences via YouTube