Scala for Java Developers: Transition Up!
In this lecture we'll show you how to set up your functions and objects for the extremely powerful functional and object-oriented programming paradigm that is combined in Scala.
You'll learn how to handle and use functions, objects, and loops, to hit the ground running.
In Scala, all functions and function values (including numbers and other primitives) are objects, which is an immensely powerful concept.
Then we'll also look at for comprehensions -- a much more powerful extension of the "advanced for loop" in Java.