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

Wrapping Up

In this chapter, we took a quick drive through Scala from the perspective of Java programmers. We saw ways in which Scala is similar to Java and how, at the same time, it sets itself apart.

At first glance, Scala appears to be lighter Java—you can do everything you do in Java, but with less verbose and more expressive syntax. Beyond that, Scala provides a number of things that’s not supported in Java: tuples, multiple assignments, named arguments, default values, implicit parameters, multiline strings, string interpolation, and more flexible access modifiers.

While we only scratched the surface of Scala in this chapter, it brought out some key strengths of the language. In the next chapter, you’ll learn how Scala supports the OO paradigm. ...

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