Slides for the "Introduction to Scala" talk at Brighton Java on 7th August 2013.
SuperCollider Scala Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Brighton Java: Intro to Scala Slides

These slides accompanied the talk An Introduction to Scala by Dave Gurnell and Richard Dallaway, given at BrightonJava on 7th August 2013. The talk abstract follows:

Dave Gurnell and Richard Dallaway present a brief introduction to Scala – a powerful programming language for the JVM. In the talk, the speakers introduce Scala from a Java programmer’s perspective, and show how its support for object-oriented and functional programming styles can provide a smooth transition to greater productivity and code reliability.

The slides are implemented as interactive Scala Worksheets in the Scala IDE for Eclipse. Full instructions on getting started are provided below.

For a more representative example of a real application written using Java and Scala, see the companion Git repository:

Intro Slides

At the beginning of the talk, before we got into code, we put up a few Powerpoint slides/ These are now on the web here:

Viewing the Code

The source code for the slides is in the src/main/scala folder. The files are Scala Worksheets sources (as opposed to regular Scala sources). Scala Worksheets is a plugin for Eclipse that shows Scala code side-by-side with the output from compiling and running the code. We recommend you view the files using the Eclipse tools so you can try things out and bounce ideas off the compiler.

Installing Scala IDE for Eclipse

The project is built using SBT. To view the code in the Eclipse IDE:

  1. Install the Scala plugin for Eclipse. The simplest way to do this is to download the pre-packaged Scala IDE bundle from [], which includes both Eclipse itself and the Scala plugin in a single archive.

  2. Clone the git repo and change to its root directory:

    git clone
    cd brighton-java-scala-talk
  3. Run the sbt eclipse script to generate Eclipse configuration files. The first time you run SBT it may take some time to download and cache JAR files on your hard drive (look in ~/.ivy2 if you want to delete them later):

    ./ eclipse
  4. Import the code as an Eclipse project by selecting File menu / Import... / General / Existing Projects into Workspace and selecting the root directory of the repo.

Useful Links

The following links came up in the discussion after the talk: