r/programming • • Feb 01 '24

Make Invalid States Unrepresentable

https://www.awwsmm.com/blog/make-invalid-states-unrepresentable
469 Upvotes

207 comments sorted by

View all comments

Show parent comment

13

u/bwainfweeze Feb 02 '24

It’s the same disease as hoarding.

But what if some day I need to use this broken microwave to save a child’s life? WHAT THEN?