Description

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.

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 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. 

 

Using discussion forums

Please use the discussion forums on this course to engage with other students and to help each other out. Unfortunately, much as we would like to, it is not possible for us at Loonycorn to respond to individual questions from students.

We’re super small and self-funded with only 2-3 people developing technical video content. Our mission is to make high-quality courses available at super low prices.

The only way to keep our prices this low is to *NOT offer additional technical support over email or in-person*. The truth is, direct support is hugely expensive and just does not scale.

We understand that this is not ideal and that a lot of students might benefit from this additional support. Hiring resources for additional support would make our offering much more expensive, thus defeating our original purpose.

It is a hard trade-off.

Thank you for your patience and understanding!

 

Course Curriculum

You, This Course and Us
You, This Course and Us FREE 00:02:21
Introducing Scala
Introducing Scala: Java’s Cool Cousin FREE 00:10:12
Installing Scala 00:09:42
Examples 1 and 2 – Hello world 00:05:04
Example 3 – Mutable and Immutable ‘variables’ 00:05:15
Example 4 – Type Inference 00:06:33
Type Inference 00:00:00
Example 5 – String Operations 00:04:28
Example 6 – A Unified Type System 00:05:27
Example 7 – Emptiness in Scala 00:05:39
Example 8 – Type Operations 00:03:52
Expressions or Statements?
Module Outline – Loops and Conditionals FREE 00:00:18
Example 9 – Statements v Expressions 00:05:57
Example 10 – Defining Values and Variables via Expressions FREE 00:02:28
Example 11 – Nested Scopes in Expression Blocks 00:04:33
Example 12 – If/Else expression blocks FREE 00:05:21
Example 13 – match expressions 00:05:39
Example 14 – match expressions: Pattern guards & OR-ed expressions 00:04:25
Example 15 – match expressions: catch-all to match-all 00:06:13
Example 16 – match expressions: down casting with Pattern Variables 00:07:00
Pattern Matching 00:00:00
Example 17 – for loops can be expressions OR statements FREE 00:07:48
Example 18 – for loops: 2 types of iterators 00:03:16
Example 19 – for loops with if conditions: Pattern Guards 00:02:37
Example 21 – while/do-while Loops: Pure Statements 00:03:33
For Loops 00:00:00
First Class Functions
Module Outline – Functions FREE 00:00:27
First Class Functions FREE 00:07:30
Functions v Methods 00:06:04
Example 22 – Functions are named, reusable expressions 00:06:06
Example 23 – Assigning Methods to Values 00:08:58
Example 24 – Invoking Functions with Tuples as Parameters 00:05:57
Example 25 – Named Function Parameters 00:03:37
Example 26 – Parameter Default Values 00:03:58
Parameter Default Values 00:00:00
Example 27 – Type Parameters: Parametric Polymorphism 00:07:12
Example 28 – Vararg Parameters 00:04:57
Example 29 – Procedures are named, reusable statements 00:05:30
Example 30 – Functions with No Inputs 00:03:40
Example 31 – Nested Functions 00:04:03
Example 32 – Higher Order Functions 00:07:36
Higher Order Functions 00:00:00
Example 33 – Anonymous Functions (aka Function Literals) 00:02:43
Example 34 – Placeholder Syntax FREE 00:07:00
Example 35 – Partially Applied Functions 00:07:21
Partially Applied Functions 00:00:00
Example 36 – Currying FREE 00:07:01
Parameter Groups 00:00:00
Example 37 – By-Name Parameters 00:09:00
By-Name Parameters 00:00:00
Example 38 – Closures 00:10:10
Collections
Module Outline – Collections FREE 00:00:27
Example 39 – Tuples 00:10:30
Tuples 00:00:00
Example 40 – Creating Lists 00:08:52
Example 41 – Simple List Operations 00:07:48
Lists 00:00:00
Example 42 – Higher Order Functions Introduced 00:12:48
Simple Higher Order Methods 00:00:00
Example 43 – Scan, ScanFold,ScanReduce FREE 00:11:51
Example 44 – Fold, FoldLeft, FoldRight 00:02:27
Example 45 – Reduce,ReduceLeft,ReduceRight 00:05:21
Example 46 – Other, Simpler Reduce Operations 00:02:39
Scan 00:00:00
Fold 00:00:00
Reduce 00:00:00
Example 47 – Sets and Maps FREE 00:11:22
Maps 00:00:00
Example 48 – Mutable Collections, and Arrays 00:10:03
Mutable Collections and Arrays 00:00:00
Example 49 – Option Collections 00:05:54
Example 50 – Error handling with util.Try 00:04:06
Options 00:00:00
Classes and Objects
Module Outline – Classes 00:00:33
Example 51 – Classes FREE 00:10:03
Example 52 – Primary v Auxiliary Constructors 00:03:58
Primary Constructors 00:00:00
Example 53 – Inheritance from Classes 00:06:03
Example 54 – Abstract Classes 00:02:48
Example 55 – Anonymous Classes 00:02:58
Example 56 – Type Parameters 00:03:13
Example 57 – Lazy Values 00:04:27
Example 58 – Default Methods with apply 00:04:18
Example 59 – Operators 00:04:30
Example 60 – Access Modifiers 00:05:24
Example 61 – Singleton Objects 00:05:33
Example 62 – Companion Objects 00:09:09
Example 63 – Traits 00:06:09
Traits 00:00:00
Example 64 – Case Classes 00:03:24
Example 65 – Self Types 00:07:18

Course Preview

Batch dates and Location

Choose your Plan

FAQs

Certificates

Reviews

Course Reviews

N.A

ratings
  • 1 stars0
  • 2 stars0
  • 3 stars0
  • 4 stars0
  • 5 stars0

No Reviews found for this course.

TAKE THIS COURSE
  • $ 15
  • UNLIMITED ACCESS
0 STUDENTS ENROLLED

    Key Features

    Need more help on a course. Drop us a Query

    Join Our Email-Newsletter

    Training in Cities

    Mumbai,Bangalore, Hyderabad, Chennai, Delhi, Kolkata, UK, London, Chicago, San Francisco, Dallas, Washington, New York, Orlando, Boston, Sydney, Singapore
    top
    WordPress Image Lightbox Plugin

    Login

    Register

    FACEBOOKGOOGLE Create an Account
    Create an Account Back to login/register
    X