Загрузка страницы

How Does "20 seconds" Work in Scala? (a Rock the JVM tutorial)

Written version: https://blog.rockthejvm.com/twenty-seconds/

This video will show you how seemingly magical expressions like "20 seconds" or "1 to 10" work in Scala. Primarily, we'll talk about
- implicit classes
- the extension methods pattern
- how libraries provide extension methods

Take the free Scala at Light Speed downloadable 2-hour course:
https://rockthejvm.com/p/scala-at-light-speed

Follow Rock the JVM on:
LinkedIn: https://linkedin.com/company/rockthejvm
Twitter: https://twitter.com/rockthejvm
Blog: https://rockthejvm.com/blog

-------------------------------------------------------------------------
Home: https://rockthejvm.com
-------------------------------------------------------------------------

Contents:
0:00 intro
1:38 the duration package is magical
3:11 defining an implicit class
5:17 extension methods
7:11 storing and importing
8:37 duration extension methods
10:10 ranges as extension methods

Видео How Does "20 seconds" Work in Scala? (a Rock the JVM tutorial) канала Rock the JVM
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
4 августа 2020 г. 22:51:13
00:12:15
Яндекс.Метрика