Dart 2.0 released

  By Thom Holwerda - Posted on 2018-08-07 20:42:13 UTC at http://OSNews.com

Coming from Dart 1 [https://9to5google.com/2018/08/06/version-2-of-googles-dart-programming-language-is-now-available/], there's two major developer-facing changes, the largest of which is a stronger type system, including runtime checks to help catch errors that would arise from mismatched or incorrectly labeled types. This type system, originally called "strong mode", has long been the default in Flutter. The other is an interesting quality-of-life change for Flutter developers, which allows creating an instance of a class without the "new" keyword. The goal of this change is to make Flutter code more readable, less clunky, and easier to type, but the principle applies to all Dart code.

The complete list of changes [https://github.com/dart-lang/sdk/blob/77202bf2b03451a64ecd9fe9885f961a640b72e8/CHANGELOG.md] has all the details.

Original story page here.

Copyright OSNews.com 1997-2006. All Rights Reserved. OSNews and the OSNews logo are trademarks of OSNews.
All trademarks, icons, and logos, shown or mentioned in this web site, are the property of their respective owners.
Reproduction of OSNews stories is granted only by explicitly receiving authorization from OSNews and if credit is given to OSNews.
Privacy statement   -   Notice to Bulk Emailers