3. 什么是 scala http://www.scala-lang.org/ scala 是 Scalable Language 的简写,由 Martin Odersky (Generic Java 的作者 ) 发明,目的就是创造一个 jvm 上的高度可扩展的语言。 2003 诞生,前身是 Pizza ( 1996 ,晚 java 一年)、 Funnel ,最新版本是 2.9.0.1 ,它具有以下特性: 1.It has an event-based concurrency model. (基于事件的并行模式) 2.It supports both an imperative style and a functional style. (支持命令式和函数式编程) 3.It is purely object-oriented. (纯粹的面向对象) 4.It intermixes well with Java. (和 java 的完美混合) 5.It enforces sensible static typing. (强制静态) 6.It is concise and expressive. (简洁且易于表达的) 7.It is built on a small kernel. (只有一个很小的核心) 8.It is highly scalable, and it takes less code to create high-performing applications. (易于扩展,只用很少的代码即可写出高性能的程序。 type less , do more )