What are product and sum types?

The Eric Normand Podcast - Een podcast door Eric Normand

Categorieën:

Product and sum types are collectively known as 'algebraic data types'. These are two ways of putting types together to make bigger types. Product types multiply their states, while sum types add them. With these two 'operations', we can precisely target a desired number of states. In this episode, we explore how we can eliminate corner cases with algebraic data types.

Visit the podcast's native language site