How to create your own String interpolator in Scala | Rock the JVM

Описание к видео How to create your own String interpolator in Scala | Rock the JVM

Written form to keep for later: https://rockthejvm.com/blog/208610/cu...

This video is for more advanced Scala programmers. However, all you need to know is how implicit classes work, nothing else.

In this video I'll show you a less known technique to create your own String interpolator so you can create any kind of objects out of Strings in which you can inject values and expressions. After you're done, it will seem like your interpolator is part of the language itself.

Follow Rock the JVM on:

LinkedIn:   / rockthejvm  
Twitter:   / rockthejvm  
Blog: https://rockthejvm.com/blog

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

Комментарии

Информация по комментариям в разработке