Learn By Example: Scala [Video]

Preview in Mapt

Learn By Example: Scala [Video]

Loonycorn

65 examples that will bring Scala to life for you

Quick links: > What will you learn?> Table of content

Mapt Subscription
FREE
$29.99/m after trial
Video
$42.50
RRP $49.99
Save 14%
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$42.50
$29.99 p/m after trial
RRP $49.99
Subscription
Video
Start 14 Day Trial

Frequently bought together


Learn By Example: Scala [Video] Book Cover
Learn By Example: Scala [Video]
$ 49.99
$ 42.50
Learn By Example: Qlikview [Video] Book Cover
Learn By Example: Qlikview [Video]
$ 48.99
$ 41.65
Buy 2 for $35.00
Save $63.98
Add to Cart

Video Details

ISBN 139781788993005
Course Length6 hours 51 minutes

Video 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 it’s 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.

Style and Approach

The course will cover the installation of Scala - no worries on that front!

Table of Contents

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

What You Will 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

Authors

Table of Contents

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

Video Details

ISBN 139781788993005
Course Length6 hours 51 minutes
Read More

Read More Reviews

Recommended for You

Learn By Example: Qlikview [Video] Book Cover
Learn By Example: Qlikview [Video]
$ 48.99
$ 41.65
ReactJS and Flux: Learn By Building 10 Projects [Video] Book Cover
ReactJS and Flux: Learn By Building 10 Projects [Video]
$ 58.99
$ 50.15
Scalable programming with Scala and Spark [Video] Book Cover
Scalable programming with Scala and Spark [Video]
$ 49.99
$ 42.50
Kotlin Programming By Example [Video] Book Cover
Kotlin Programming By Example [Video]
$ 124.99
$ 106.25
Artificial Intelligence with Python – Sequence Learning [Video] Book Cover
Artificial Intelligence with Python – Sequence Learning [Video]
$ 124.99
$ 106.25
Learn C# With Windows Forms and SQL Server [Video] Book Cover
Learn C# With Windows Forms and SQL Server [Video]
$ 98.99
$ 84.15