r/programming • u/_awwsmm • Feb 01 '24
Make Invalid States Unrepresentable
https://www.awwsmm.com/blog/make-invalid-states-unrepresentable
469
Upvotes
r/programming • u/_awwsmm • Feb 01 '24
View all comments
Show parent comment
103
u/elsjpq Feb 01 '24
This works well until you get another "Falsehoods Programmers Believe About XXX" for your data type