Making Illegal States Unrepresentable
https://buttondown.email/hillelwayne/archive/making-illegal-states-unrepresentable/ [buttondown.email]
2020-04-19 14:43
It’s a concept I find very helpful. But if you look for examples online almost everything either “let’s prevent dividing-by-zero” or “let’s enumerate the cases in a data type”. We can more creative than that! Some examples of “illegal states unrepresentable” that I found useful but have not seen anyone else talk about online:
source: L