Motivation for using Scala
The primary motivation for using Scala for examples in this book is as follows. First of all, Scala is a functional language. This means that it has support for almost all of the functional programming styles that have been developed so far. Another reason for choosing Scala is that it is designed explicitly with object-oriented programmers in mind. Scala positions itself as a mix between object-oriented and functional languages. This means that new programmers that come from the object-oriented world can use Scala as an object-oriented language. This facilitates the transition from the object-oriented style. In fact, Scala is often used as Java without semicolons, meaning that you can program your Scala programs ...
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