4 ms·
1. Reasoning about a subset of values is usually easier. 2. Modeling the domain with types, making erroneous states unrepresentable is helpful 3. Carefully ch
by a_imho 5y ago
1. Reasoning about a subset of values is usually easier.
2. Modeling the domain with types, making erroneous states unrepresentable is helpful
3. Carefully chosen types help with communicating intent