PLNews: Programming Language News

News, articles, announcements and information focusing on computer programming languages and their implementations.
January 12, 2006

Scala 2 Beta Released

Posted: 2006-01-12 19:31:00
Languages ::

A beta of Scala 2 has been released. Scala is a statically typed, extensible, multi-paradigm language, offering object-oriented and functional capabilities.

The Scala 2 compiler has been rewritten in Scala. The changes (~ 180KB PDF) between versions 1.0 and 2.0 include: four new keywords; the use of newlines as statement separators, making semicolons optional; changes to the recommended syntax of selftype annotations, the implicit conversion rules from methods to values, and the model of mixin composition; the generation of getters and setters for class parameters; relaxed typing rules for pattern matching; and more.