O'Reilly logo

Pragmatic Scala by Venkat Subramaniam

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 2Taking Scala for a Ride

Surprisingly, it’s very easy to get Scala code up and running, whether you’re creating a short script or a full-fledged enterprise application. You can use any of the available IDEs or just a lightweight editor.

In this chapter, you’ll learn how to quickly run your Scala scripts from the command line and how to compile multiple files containing Scala code. If, at any time, you’re curious what Scala’s thinking—what the inferred types of variables are—you can quickly jump into the REPL where Scala interactively reveals valuable details. There’s no better way to learn Scala than by trying out some examples, so type the code and run them as you read along. Let’s get started with the most fun and interactive tool—the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required