C#8 Nullable Reference in Practice - .NET Oxford - March 2020

Опубликовано: 24 Октябрь 2024
на канале: Pusher
613
10

The most significant new feature of C# 8.0 is its support for non-nullable references. In a bid to mitigate what is often described as the “billion dollar mistake” of allowing references to be null, C#’s language designers have attempted to retrofit the ability to write code that declares unambiguously that it doesn’t want nulls, and for the compiler to attempt to enforce that for you. Adding such a feature almost two decades into the life of the language and its supporting runtime was always going to be challenging, so this feature has quite a few quirks (such as its apparently inverted name). In this talk, Ian Griffiths will describes the ins and outs of the new feature, with particular reference to his employer, endjin’s experience with applying this new feature to existing code. In addition to an in-depth description of the technical details of nullable references, this talk will also describe strategies for migrating an existing codebase into the world of nullability-awareness.”

Bio:

Ian started using computers when he was six. He has worked in various aspects of computing, including computer networking, embedded real-time systems, broadcast television systems, medical imaging, and all forms of cloud computing. He is a Technical Fellow at endjin. He is the author of O’Reilly’s Programming C# 8.0. You can follow him on Twitter via @idg10

_________________________________________________________________

About Pusher Sessions:

We're bringing the meetup to you. With Sessions, you can watch recordings of top-notch talks from developer meetups -- wherever and whenever you want.

Meetups are a great way to learn from our peers and to keep up with the latest trends and technologies. As developers ourselves, we at Pusher wanted to bring this great content to more people... So we built Sessions. On Sessions, you can watch talks that interest you and subscribe to be notified when new content gets added.

If you run a meetup and want to get involved, kindly get in touch.

_________________________________________________________________

About Pusher:

Pusher is a hosted service with APIs, developer tools and open source libraries that greatly simplify integrating real-time functionality into web and mobile applications.

Pusher will automatically scale when required, removing all the pain of setting up and maintaining a secure, real-time infrastructure.

Pusher is already trusted to do so by thousands of developers and companies like GitHub, MailChimp, the Financial Times, Buffer and many more.

Getting started takes just a few seconds: simply go to pusher.com and create a free account. Happy hacking!