ADTs For The Win!
by Noel Markham
- •
- June 01, 2017
- •
- events• talk• adts• scala• pattern matching• algebraic data types
At the 2017 Scala Days in Copenhagen, Senior Software Engineer, Noel Markham presented ADTs for the Win!
Noel explains, “Algebraic data types, ADTs, sometimes called sum types, coproducts or sealed trait families, are a killer Scala feature that possibly does not get the focus it deserves. While many developers are happy and comfortable using ADTs when provided from the language or a library, they often don’t see the steps to take the next leap in creating ADTs for their own domain.
In this talk we will take a look at just what ADTs can do for you, covering some common classes that you don’t even realise are ADTs from the standard library and also some well-known libraries, revisit pattern matching, and understand how the compiler can help us with techniques such as folding. Finally, we will develop a brand new collection type using our new-found knowledge.”
You can view the slides from the presentation by using your arrow keys here:
See more presentation slides from the 47 Degrees team and follow us @47deg with questions or to join in on the conversation.
If you would like to know more, or need assistance from our team of advanced engineers, get started with a consultation.