LOADING

Mirrors for operations, not data

I propose that we can extend Mirrors to operations, and use the most natural DSL of all - plain trait definitions.

Jamie Thompson
About This Talk

Can we derive endpoints from just a trait definition? One of Scala's strengths is domain modelling, and from a data definition, we can derive generic information in a Mirror, e.g. to generate type classes. For operations (such as endpoints) there is less support from metaprogramming, so we often create DSLs to describe them. I propose that we can extend Mirrors to operations, and use the most natural DSL of all - plain trait definitions.

more great talks

Might Be Interesting

Day 2
  —  
9:00 am
arrow pointing right icon

Contravariance: intuition building and examples

This talk aims to equip the audience with the minimum required bagage to get comfortable working with contravariance.

Day 1
  —  
1:30 pm
arrow pointing right icon

My First Year in Scala

In this talk, I will cover three key concepts that emerged from reflecting on this past year of learning: making mistakes, helping others to help you and finding community.

Day 1
  —  
5:00 pm
arrow pointing right icon

Exploring Build Caching: A Practical Overview

In this talk, we will start with the basics, understanding what build caching is and why it can be a bit tricky to handle in real projects.

See All Events
Join us!

We're looking for amazing speakers.
CFP is open till 10.01.2023

Fill in Call for Papers
location icon

Location

Centrum Konferencyjne POLIN, Poland
stay in touch icon

Follow Us

Contact Us