More with Less
One of the first differences you’ll find as you ease into Scala is that you can do more with a lot less code in Scala than in Java. The conciseness and expressiveness of Scala will shine through every line of code you write. You’ll start applying Scala’s key features and soon they’ll make your routine programing quite productive—Scala simplifies everyday programming.
To get a taste of Scala’s power and its benefits, let’s look at a quick example where we make use of many of the features. Even though the syntax may appear unfamiliar at this time, key in the code and play with it as you read along. The more you work with the code, the quicker it becomes familiar.
If you’ve not installed Scala yet, please see Appendix 1, Installing ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access