All Episodes

May 28, 2021 28 mins

In this episode, I talked about the evolution of the Dart programming language.

The Dart language improves greatly from release to release. Since 2.0, Dart has a sound type system. Since then, many valuable features were added to the language, for example int-to-double conversion, set literals, as well as operators to improve code that performs list manipulation: the spread operator, collection if and for operators. Extension methods were a great addition to the language and they enable you to add any functionality to any type, even types you don't own, thus making your code very expressive. 

Since Dart 2.12, the language supports sound null safety. When you opt into null safety, types in your code are non-nullable by default, meaning 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.

This podcast episode builds heavily on the official Dart documentation and version announcements.

Resources

  • Dart language evolution
  • Null Safety with Randal Schwartz - Flutter 101 Podcast
  • Wikipedia on Dart
  • My poll about Dart from the Flutter Munich meetups
  • Great packages with extension methods
  • time
  • dartx
  • kt.dart
  • Dart announcements
  • Dart 2.13 - New type aliases language feature, improved Dart FFI
  • Dart 2.12 - Sound null safety and Dart FFI ship to the stable channel.
  • Dart 2.7 - A safer, more expressive Dart
  • Dart 2.3  - Optimized for building user interfaces
  • Dart 2.0 - Optimized for client-side development
  • Optional semicolons issue on GitHub
  • Host: Vince Varga

  • Twitter @vincevargadev
  • GitHub @vincevargadev
  • LinkedIn @vincevargadev
  • Mark as Played

    Advertise With Us

    Popular Podcasts

    On Purpose with Jay Shetty

    On Purpose with Jay Shetty

    I’m Jay Shetty host of On Purpose the worlds #1 Mental Health podcast and I’m so grateful you found us. I started this podcast 5 years ago to invite you into conversations and workshops that are designed to help make you happier, healthier and more healed. I believe that when you (yes you) feel seen, heard and understood you’re able to deal with relationship struggles, work challenges and life’s ups and downs with more ease and grace. I interview experts, celebrities, thought leaders and athletes so that we can grow our mindset, build better habits and uncover a side of them we’ve never seen before. New episodes every Monday and Friday. Your support means the world to me and I don’t take it for granted — click the follow button and leave a review to help us spread the love with On Purpose. I can’t wait for you to listen to your first or 500th episode!

    Stuff You Should Know

    Stuff You Should Know

    If you've ever wanted to know about champagne, satanism, the Stonewall Uprising, chaos theory, LSD, El Nino, true crime and Rosa Parks, then look no further. Josh and Chuck have you covered.

    Dateline NBC

    Dateline NBC

    Current and classic episodes, featuring compelling true-crime mysteries, powerful documentaries and in-depth investigations. Follow now to get the latest episodes of Dateline NBC completely free, or subscribe to Dateline Premium for ad-free listening and exclusive bonus content: DatelinePremium.com

    Music, radio and podcasts, all free. Listen online or download the iHeart App.

    Connect

    © 2025 iHeartMedia, Inc.