Connecting...

Pexels Photo 1117452

Scala Schemas with Shapeless by Kévin Rauscher

Pexels Photo 1117452

Recursion, pattern matching and typeclasses, this talk has it all!

At ScalaUA, Scala Engineer, Kévin Rauscher shows us that using the same techniques which allow us to automatically generate our typeclasses, we can also scrap the boilerplate when going from one model to another.

 

Scala Schemas with Shapeless

Why write code the compiler can generate for us? Following this motto, we, as scala developers, tend to derive a lot of things from our model definition. But what happens when we have to keep our API backward compatible while upgrading our domain model. While coupling models are inconvenient, decoupling them leads to a lot of boilerplate. In this talk, we'll see that, by using the same techniques which allow us to automatically generate our typeclasses, we can also scrap the boilerplate when going from one model to another.
 
In this session, expect to hear about:
- Recursion and pattern matching
- HList and LabelledGenerics
- Automatic Derivation of typeclasses
- Automatic Derivation of case class transformers
 
 
 
 
This talk was given by Kévin Rauscher at ScalaUA