LOADING

Type-Classes (in Scala 3)

We'll explore type classes in Scala 3, using its new rules for givens, extension methods, and mechanisms for automatic derivation via mirrors or macros.

Alexandru Nedelcu
Team Lead at ING Bank, Romania
About This Talk

Type classes are a Scala superpower, and yet are underused in application code. Compared with OOP-based designs, type classes unlock “parametricity”, meaning polymorphic functions whose type signatures describe their behavior, making code more expressive, safer, and more predictable. This matters even more in the age of AI agents, because more mistakes can be caught at compile time, shortening the feedback loop and speeding up convergence toward a working solution.

We'll explore type classes in Scala 3, using its new rules for givens, extension methods, and mechanisms for automatic derivation via mirrors or macros.

more great talks

Might Be Interesting

Day 1
  —  
2:00 pm
arrow pointing right icon

The Concurrency Triangle: Scala Fibers, Java Virtual Threads, and Kotlin Coroutines

Scala Fibers, Java Virtual Threads, and Kotlin Coroutines - this talk shows how this elegant solution manifests at three different abstraction levels.

Day 1
  —  
11:15 am
arrow pointing right icon

Cyfra: Scala on GPU

Learn how to accelerate Scala code by orders of magnitude with Cyfra.

Day 1
  —  
4:15 pm
arrow pointing right icon

Real-Life Scala Capture Checking

This will be a live coding demonstration of Scala's newest feature set: capture checking.

Day 1
  —  
9:00 am
arrow pointing right icon

How can we trust our agents?

In my talk I will argue that we can do much better by relying in a systematic way on types and capabilities.

Day 2
  —  
9:35 am
arrow pointing right icon

Flexible Modeling: Keeping Your Domain Pure with Scala 3

In this talk, we will walk through a concrete example of a boilerplate-heavy domain. By replacing common Scala 2 workarounds with Opaque Types, Extension Methods, Enums, and Union Types, we will demonstrate how to achieve a strictly typed, decoupled architecture without the noise.

Day 2
  —  
2:00 pm
arrow pointing right icon

Backend driven Frontends: Modern, Powerful and Blazingly Fast with Datastar & zio-http

So, is there a modern solution for web apps that is powerful, simple, and blazingly fast in both CI and the browser? A solution that lets you write in your favorite backend language and is fun? The answer is Datastar!

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