scalamatsuri / 2020.unconference

Put your session ideas here for ScalaMatsuri 2020 Unconference!
1 stars 2 forks source link

Far more than you ever wanted to know about ADT #1

Closed nrinaudo closed 3 years ago

nrinaudo commented 3 years ago

Mandatory / 必須欄

Detail:

Algebraic Data Types are a very simple, yet very powerful tool to use when designing systems. Most developers are familiar with them, or subsets of what we call ADTs, even if they are not aware of them - enumerations, for example, or records.

The purpose of this talk is to clarify what ADTs are, what properties they have and how these properties can be used to express strong invariants at the data level - such as making illegal states or state transitions impossible to represent.

It also explores the generalised form of ADTs - GADTs - and attempts to lift some of the confusion that surrounds them in the Scala community.

We will also (lightly) tackle the theory behind them and try to understand where the “algebraic” part of the name comes from.

By the end of the talk, attendants should have a solid intuition of when and how to use them, and be able to bring them to use in their own projects directly.

Optional / 希望欄

nrinaudo commented 3 years ago

It turns out I will not be able to attend for family reasons. Apologies :/