Learn By Example: Scala
- 7 hours on-demand video
- 127 downloadable resources
- Full lifetime access
- Access on mobile and TV
- Certificate of Completion
Get your team access to 4,000+ top Udemy courses anytime, anywhere.Try Udemy for Business
- 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
A quick run-through of the reasons why people are so excited about Scala
Nil, null, Null, Nothing, Unit..Scala has many ways to skin a non-existent cat!
Expression blocks are prototypical "r-values", i.e. they sit on the right of assignment statements.
Scala has if-else expressions (not if-else statements). This is a fine point, and an important one.
Scala has a way to convert for loop statements into for loop expressions - using 'yield'
Functions are 'first class citizens' in Scala - this actually has a technical term!
- Basic knowledge of programming, ideally in Java or C#
- The course will cover the installation of Scala - no worries on that front!
These 65 examples will make this cool-new-kid-on-the-block your steady, reliable friend
Let's parse that.
- Scala is cool because 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 Scala use-case. Each example is simple, but not simplistic.
- The Big Ideas: Before we get to the how, we better understand the why - this course will help clarify why we even need Scala when Java 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 Functions are perhaps the most dramatically new feature of Scala - the foundation of functional programming support.
- Collections - Lists, Options, the Details of fold/reduce/shift in 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 Injection are Scala's way of providing Object Oriented support. Some of these concepts are similar to Java - those we will skim over. Others are quite different - we will be sure to cover these in detail.
- Nope! Please don't enroll for this course if you are entirely new to programming
- Yep! Please DO enroll for this course if you know Java and are now looking to learn Scala from first principles
- Yep! Please DO enroll for this course if you are interested in learning functional programming concepts as embodied in Scala