Home United States USA — software Dart 2.1 Brings New Language Features, Better Usability and More

Dart 2.1 Brings New Language Features, Better Usability and More

434
0
SHARE

Google has released Dart 2.1. This version brings new language features, performance improvements, faster type checks, and better usability for type errors.
Google has released Dart 2.1. This version brings new language features, performance improvements, faster type checks, and better usability for type errors.
Dart 2, released early this year, had brought a new compiler support for generating code for mobile devices, a reworked web platform tools, and a sound type system (also known as type safe system) to support teams building complex apps.
The sound type system helps users during the development, informing when a developer violates a contract specified by the types. Now on Dart 2.1, both edit-time and compile time type checks are completed.
Dart 2.1 has improved the support for mixins. Mixins are a feature that enable developers to reuse a class’s code in multiple class hierarchies. A new syntax for mixins has been added, the keyword mixin can be used to define classes that can only be used as mixins.

Continue reading...