Scala Fundamentals: The Type System
Год выпуска: 2019
Производитель: Pluralsight
Сайт производителя://app.pluralsight.com/library/courses/scala-fundamentals-type-system
Автор: Vikash Sharma
Продолжительность: 2h 6m
Тип раздаваемого материала: Видеоурок
Язык: Английский
Описание:
From introducing a simple class to writing a typeclass, this course explains the required concepts to leverage Scala's beautiful static type system. It'll help in achieving code abstraction and enable you to write less code and achieve more.
Writing software is fun, it gets easier when types drive your software development, this is called Type-driven Development. In this course, Scala Fundamentals: The Type System, you’ll learn to use Scala's extensive type system to write type-safe, easy to understand, abstract and concise code. First, you’ll explore the ways to write constructs like classes, objects, case classes, and traits, which work as types. Then, you’ll learn how to make them generic. Next, you'll discover concepts of type bounds and variance. Finally, you’ll delve into writing typeclasses. When you’re finished with this course, you’ll have the skills and knowledge of Scala's extensive type system needed to write easy to understand and editor-friendly code.
Related Topics:
Scala Language Fundamentals | Path [2021, ENG]
Java SE 17 | Path [2023, ENG]
[Packt] Haskell Programming ► Data Analysis with Haskell | 7 Courses [2017, ENG]
Содержание
1. Course Overview
1. Course Overview
2. Introduction
1. Overview
2. What Will Be Covered
3. Setting up Development Environment
4. Why Care About Types
3. Understanding Type Basics
1. Overview
2. Working with Class and Objects
3. Understanding Case Classes
4. Working with Traits
5. Demystifying Algebraic Data Types
6. Applying Pattern Matching
7. Demo - Modeling DTH Subscription Entities
8. Summary
4. Parameterizing the Types
1. Overview
2. Understanding Type Parameterization
3. Writing Methods Which Take Type Parameters
4. Working with Higher Order Functions
5. Working with Option and Either Types
6. Introducing Abstract Types
7. Demo - Writing a Transaction[T] Parameterized Type
8. Summary
5. Understanding Type Bounds and Variance
1. Overview
2. Understanding Variance
3. Applying Covariance and Contravariance
4. Understanding and Applying Type Bounds
5. Demo - Applying Variance and Type Bounds to Transaction[T]
6. Introducing a Typeclass
01. Overview
02. Understanding Ad-hoc Polymorphism
03. Introducing a Typeclass
04. Working with Implicits
05. Performing an Implicit Conversion
06. Writing an Implicit Class
07. Looking for Implicit Values
08. Implementing Typeclass Instances
09. Using a Typeclass
10. Demo - Writing a Subscriber[T] Typeclass
Файлы примеров: присутствуют
Субтитры: присутствуют
Формат видео: MP4
Видео: H.264/AVC, 1280x720, 16:9, 30fps, 108 kb/s
Аудио: AAC, 48.0 kHz, 96.0 kbit/s, 2 channels