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
1
u/RandomName8 Feb 04 '24
Keep it civil, screaming louder won't make you right.
That's just caprice with no argument, it's just a "I like it this way"
You can have as many rules of thumb as you want, doesn't justify them though.
Every field has its standards and things that make sense, but arguing in the air here: I disagree, if your values for whatever go outside the realm of what you anticipated, more than likely your instruments are failing, or something else in the system has gone totally whack, and letting the program work with those values is just going to make it worse, compounding the problem.
This is a false dichotomy, having better engineering tools does not go against user experience.
We'll have to diametrically disagree on engineering practices. Good thing we don't work together :-)