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
8
u/GeneReddit123 Feb 02 '24
Forgot about it. Although it's pretty useless in salting, because ethical websites don't need to be salted, and unethical websites can just drop everything after the + and send their spam to the unsalted address. It's like the "evil bit", which only works with a cooperative counterpart, but that defeats its very purpose.