Get more clarity with opaque types in Scala 3

- CEST
Joy

Magda Stozek
SoftwareMill, Scala developer

Scala developer at SoftwareMill devoted to doing things “the right way”. Leader of Zielona Góra JUG and co-organizer of the Greenfield Conference. After hours, she enjoys biking, tap dancing, and reading long books.


Types are a programmer's best friend. In the pursuit of a perfect world, we try to model our domains in such a way that the type system makes incorrect data impossible. In Scala 2, we have tools like type aliases, value classes, or Refined Types. In Scala 3, there's something new for this purpose - opaque type aliases. What do they bring to the table? Will they make our life easier? Do they have any drawbacks? Join this live demo to learn all that and add this new tool to your modeling toolbox!