Go offline with the Player FM app!
Null Safety with Randal Schwartz
Manage episode 293028765 series 2896151
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.
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.
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.
Resources
- Dart documentation
- FLOSS Weekly
- Flutter Community Humpday Q&A/AMA
- Dart "mockito" null safety
- flutter.dev/community
Guest: Randal Schwartz
- Twitter @RandalSchwartz
- GitHub @RandalSchwartz
- LinkedIn linkedin.com/in/randalschwartz
- Web stonehenge.com
- YouTube
- Google Developer Expert Profile
- Wikipedia
Host: Vince Varga
- Twitter @vincevargadev
- GitHub @vincevargadev
- LinkedIn @vincevargadev
- Web vincevarga.dev
29 episodes
Manage episode 293028765 series 2896151
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.
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.
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.
Resources
- Dart documentation
- FLOSS Weekly
- Flutter Community Humpday Q&A/AMA
- Dart "mockito" null safety
- flutter.dev/community
Guest: Randal Schwartz
- Twitter @RandalSchwartz
- GitHub @RandalSchwartz
- LinkedIn linkedin.com/in/randalschwartz
- Web stonehenge.com
- YouTube
- Google Developer Expert Profile
- Wikipedia
Host: Vince Varga
- Twitter @vincevargadev
- GitHub @vincevargadev
- LinkedIn @vincevargadev
- Web vincevarga.dev
29 episodes
All episodes
×Welcome to Player FM!
Player FM is scanning the web for high-quality podcasts for you to enjoy right now. It's the best podcast app and works on Android, iPhone, and the web. Signup to sync subscriptions across devices.