What you'll learn:
- Use Scala with an intermediate level of proficiency
- Read and understand Scala programs - including those with highly functional forms - written by others
- Identify the similarities and differences between Java and Scala, and use both to their advantage
These 65 examples will make this cool-new-kid-on-the-block your steady, reliable friend
Let's parse that.
- Scala is coolbecause its all the rage for big data applications, and because it manages to be more sophisticated and elegant than Java.
- That said, Java is a steady, reliable friend - a language you can depend upon, and in which you can express yourself.
- These 65 examples will help you trust Scala the way you trust Java. Each is self-contained, has its source code attached, and gets across a specific Scalause-case.Each example is simple, but not simplistic.
What's Included:
- The Big Ideas:Before we get to the how, we better understand the why - this course will help clarify why we even need Scala whenJava serves us so well
- The Little Details That Matter: Pattern Matching, If Expressions, For Loops & Yield:Java has if-statements, while Scala has if-expressions. Differences like these matter, this course will cover them.
- First Class Functionsare perhaps the most dramatically new feature of Scala - the foundation of functional programming support.
- Collections - Lists, Options, the Details of fold/reduce/shiftin Scala are yet another bit of the language that differs significantly from other traditional object-oriented languages. We will spend a lot of time on these topics too.
- Classes, Companion Objects, Traits, Self Types and Dependency Injectionare Scala's way of providing Object Oriented support. Some of these concepts are similar to Java - those we will skim over. Othersare quite different - we will be sure to cover these in detail.