Noel Markham at Scala Swarm 2017

 

ADTs for the Win

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 from Scala Swarm 2017, Noel takes a look at just what ADTs can do for you, covering some common classes that you don’t even realize 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, he develops a brand new collection type using our new-found knowledge.

You can follow Noel @noelmarkham and @47deg for more information.

Subscribe to our official YouTube channel to be updated when new videos are added.

blog comments powered by Disqus

Ensure the success of your project

47 Degrees can work with you to help manage the risks of technology evolution, develop a team of top-tier engaged developers, improve productivity, lower maintenance cost, increase hardware utilization, and improve product quality; all while using the best technologies.