This book uses Scala extensively as its primary example language. In this chapter, we will briefly overview the language basics. First, we will start from the motivation for using it as an example language.
Following are the topics covered in this chapter:
- Motivation for using Scala
- Variables and functions
- Control structures
- Inheritance model
This chapter is supposed to be a quick introduction for the rest of the book, and should not be regarded as a full-size tutorial on Scala.