×
Eventil - Find Tech Events
Official mobile app
FREE - In Google Play
View
×
Eventil
Official mobile app
FREE - In App Store
View
Video not available
Add video

Herding Types With Scala Macros

0 0

In Scala we use the term "type safety", but what it really means? In short, most applications model data types in a form suitable for storage, change, transmission, and use. During the life cycle of the data, we expect to always use the declared type. But reality is a bit more complicated. One of the main practical problems with the use of types occurs when our application interacts with outside world - in requests to external services, different databases or simply with getting data from file. In most cases, an attempt to support type safety leads to writing a lot of code that we always try to avoid. Fortunately we have macros to do all routine job for us! In this talk we will discuss how to use compile-time reflection in library for schemaless key-value database and the benefits of use of macros in production systems.

Scala Wave 2017

SCALA WAVE 2017 - tech conference by the Baltic Sea (Gdańsk, Stary Maneż, 7-8.07.2017) www.scalawave.io Check the TEASER: http://bit.ly/2qa2her SCALA, FUNCTIONAL - THE FUTURE OF PROGRAMMING We w...