This talk was recorded at NDC London in London, England. #ndclondon #ndcconferences #developer #softwaredeveloper
Attend the next NDC conference near you:
Subscribe to our YouTube channel and learn every day:
/ @NDC
Follow our Social Media!
#dotnet #programminglanguages #csharp #api #roslyn #metadata
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" -
|
How to Install Ansible on Ubuntu Linux |...
「キノクエスト」の登録・詳細はこちらから▶︎ e-ラーニング「キノクエスト」な...
How to Install Apache Kafka on Ubuntu Li...
How to Install Redis on Ubuntu Linux | C...
How to Install Go on Ubuntu Linux | Comp...
Tired of users accidentally closing your...
Xavi Jacas, Chief Data Officer de Redarb...
VideoAmp is a leading measurement compan...
Deloitte Digital's AI Advantage is an Ag...
For more details on this topic, visit th...
How do you prepare your Python data scie...
Subscribe to AWS: Create a free AWS ac...
Subscribe to AWS: Create a free AWS ac...