2

Get more clarity with opaque types

 2 years ago
source link: https://www.signifytechnology.com/blog/2021/04/get-more-clarity-with-opaque-types-by-magda-stozek
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Types are a programmer's best friend!

So what's new for types in Scala 3? Learn all about it in this talk by Magda Stożek from Scala in the City.

SLIDES AVAILABLE HERE.

Get more clarity with opaque types

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 session to learn all that and add this new tool to your modelling toolbox!


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK