Nothing is - together with scala.Null - at the bottom of Scala's type hierarchy. Scala中的Nothing和Null两个类位于Scala类型继承树的底部. Nothing is a subtype of every other type (including scala.Null); there exist no instances of this type. Nothing是Scala中其他任何类(包含Null…
Represents optional values. Instances of Option are either an instance of scala.Some or the object None.Option类代表可选的值.Option的实例要么是Some的实例,要么是None的实例. The most idiomatic way to use an scala.Option instance is to treat it as a collection or monad and u…
习惯性的贴几个参考链接: W3School-HTML 5 应用程序缓存 官方 MDN window.applicationCache 接口文档 官方 MDN 用法示例 看所有的教程不如直接看最原始的官方教程,下面的内容是对官方教程(官方 MDN 用法示例)中自己觉得有价值的部分的文档的翻译: Entries in a cache manifest file The cache manifest file is a simple text file that lists the resources…
翻译着玩,进度会比较慢. 等不及的可以看CocoaChina翻译小组,他们正在组织翻译,而且人手众多,相信会提前很多完成翻译. 原文可以在iTunes免费下载 目前进度 7 JUN 2014: 8.83 % 6 JUN 2014: 8.31 % 4 JUN 2014: 8.05 % 前言 4 JUN 2014 Apple发布了新的编程语言Swift,也提供了一本将近400页的 The Swift Programming Language(Swift编程语言).虽然我没有开发者账号,没法实际上机练…