All Talks

Algebraic Data Types

Algebraic Data Types (ADTs) are types composed of other types. There are two classes of them – product and sum types. Although there is a better support in JavaScript for product types, we can also use sum types as well. In this lightning talk I will briefly explain what these different ADTs are and how can we use them to better model and think about our data.

You might be interested in: