Learning Scala at the Guardian.
Enter sbt:
$ ./sbt
Then, to build:
$ gen-idea // if using Intellij
To run:
$ run
To test:
$ test
To enter the REPL:
$ console
- using the REPL
- basic types
- vals + vars
- method calls and operators
- scaladoc
- methods and functions
- collections
- map, filter, etc.
- classes
- objects
- case classes
- companion objects
- for expressions
- pattern matching and case classes