Blast From the Past
Learn about the history of Scala.
We'll cover the following...
A brief history of Scala
It may be helpful to look back on how Scala has changed and improved over the last few major releases.
Scala 2.9
Scala 2.9 introduced some new features, including:
- Parallel Collections: Every collection can be converted into a corresponding parallel collection using the
par
method. App
Trait:App
replaces Application as a better way to write a top-level application class (args
is available).DelayedInit
Trait: If a class or object inherits from this trait, all its initialization code is packed in a closure and forwarded as an argument to a method nameddelayedInit
, which is defined as an abstract method in traitDelayedInit
.- Repl Improvements: More robust cursor handling, bash-style ctrl-R history search, and new commands like
:imports
,:implicits
, and:keybindings
. - Scala Runner:
scala
can accept a jar file, class name, or source file as an argument. - Java Interop:
- The