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

preview_player
Показать описание

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:

-------------------------------------------------------------------------
-------------------------------------------------------------------------
Рекомендации по теме
Комментарии
Автор

Obscure yet useful feature. Top content. Bigger and bigger fan over here.

MrCesarification
Автор

Thanks, Daniel for the wonderful content. Keep it up!!

sherwin
Автор

Wow Daniel, very cool, please do more videos like this !

iQwert
Автор

Can you make a tutorial about metaprogramming, I am dying to learn, thank you

helloworld