Dart 1.8 发布,此版本是个稳定版本,提供在 Stable 频道,主要包括库改进和尝试性支持枚举。
在 Dart Editor 的 Tools > Preferences > Experimental 下面,你可以看到“Enable Enums Support”,然后就可以开始体验 Dart 的枚举:

Dart 1.8 还包括了大量的库改进:
-
dart:collection 中,SplayTree 添加了 toSet() 方法,在 dart:convert 中添加了一个 JsonUtf8Encoder 类
-
dart:core 添加了下面三个特性:
-
New properties and constructors for RangeError
-
A new IndexError class - used by the RangeError.index constructor
-
Optional start and end arguments for the String.fromCharCodes constructor.
-
dart:io 支持客户端和服务器端 TLS 安全网络协议的 ALPN 扩展
TIOBE 10月编程语言排行榜:Dart 起死回生? http://www.linuxidc.com/Linux/2012-10/71923.htm
Dart 的详细介绍:请点这里
Dart 的下载地址:请点这里
本文永久更新链接地址:http://www.linuxidc.com/Linux/2014-11/110003.htm
