Description
In this course, you will :
- Learn how to write object-oriented code in Scala.
- Basic types provided by Scala and how to create your own.
- Functions, including function literals, function values, and closures, before learning how to create your own Control Structures with the concept of currying.
- Learn about Traits and how to create stackable modifications, Collections' reduce and fold concepts, and Implicit conversion and all of the use cases it has to offer.
- You will be able to implement these techniques in your own Scala applications.
Syllabus :
1. Understanding Object-oriented Scala
- Understanding Classes and Objects
- Creating Classes and Objects
- Making Objects Immutable
- Understanding Singleton Objects
- Understanding Functional Objects
- Understanding Abstract Classes, Inheritance, and Composition
2. Working with Basic Types
- Introduction to Scala Types
- Embedding Scala Expressions in String Literals
- Using Methods as Operators
- Understanding Scala Class Hierarchy
3. Working with Functions and Closures
- Understanding Local Functions
- Understanding Function Literals and Function Values
- Understanding Partially Applied Functions
- Understanding Closures
- Applying Repeated Arguments to Functions
- Understanding Named Arguments and Default Parameter Values1mUnderstanding Tail Recursion
4. Creating Your Own Control Structures
- Using Function Value to Remove Code Duplication
- Understanding Currying
- Creating Control Abstraction
- Understanding by Named Parameters
5. Working with Traits
- Understading Traits
- Developing Rich Interfaces with Traits
- Developing Stackable Modifications with Traits6mUnderstanding When to Use Traits or Not
6. Understanding Collections
- Understanding How Reduce Works
- Understanding How Fold Operations Work
7. Working with Implicits
- Understanding How Implicit Conversion Works
- Understanding the Rules for Implicits
- Working with Application of Implicits