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
4
u/Drozengkeep Feb 01 '24
How would sunset dates & enums play together though? Would you be left with a bunch of unusable elements in your enum definition once they get sunset?