
Null Safety with Randal Schwartz
Sejar Jasani
Description
<p>My guest today is Randal Schwartz. He is a Google Developer Expert on Flutter and Dart. He is also very active in the Perl community and he wrote multiple books on Perl, he was the host of FLOSS weekly, a podcast about Free Libre Open Source Software.</p><p>In this episode, we focused on null safety with Dart. Dart 2.12 added support for null safety. When you opt into null safety, types in your code are non-nullable by default. This means that variables can't contain null unless you say they can. With null safety, your runtime null-dereference errors turn into edit-time analysis errors.</p><p>We also talked about migrating our existing code to null safety, and the migrations tools that can help us make the migration process as seamless as possible.</p><p><strong>Resources</strong></p><ul><li><a href="https://dart.dev/guides">Dart documentation</a><ul><li><a href="https://dart.dev/null-safety">Sound null safety</a></li><li><a href="https://dart.dev/null-safety/migration-guide">Migrating to null safety</a></li><li><a href="https://dart.dev/null-safety/understanding-null-safety">Understanding null safety by Bob Nystrom</a></li><li><a href="https://dart.dev/null-safety/unsound-null-safety">Unsound null safety</a></li><li><a href="https://dart.dev/null-safety/faq">Null safety FAQ</a></li><li><a href="https://dart.dev/guides/language/evolution">Dart language evolution</a></li></ul></li><li><a href="https://twit.tv/shows/floss-weekly">FLOSS Weekly</a><ul><li><a href="https://twit.tv/shows/floss-weekly/episodes/245">Episode 245: Dart (Seth Ladd)</a></li><li><a href="https://twit.tv/shows/floss-weekly/episodes/511">Episode 511: Flutter 1.0 (Eric Seidel)</a></li></ul></li><li><a href="https://www.youtube.com/watch?v=ROHP97ctcmE&list=PL4dBIh1xps-HifFmjGWK0QwIH3H-x1cQu">Flutter Community Humpday Q&A/AMA</a><ul><li><a href="https://www.youtube.com/watch?v=ousICpRKW4o">From the Flutter Team, it's Fitz!</a></li><li><a href="https://www.youtube.com/watch?v=IjrzpE1dB1w">Null Safety and Cloud Functions with Kevin Moore</a></li
Uploader
Episodes
Null Safety with Randal Schwartz
Sejar Jasani