I'm studying math and when programming by my own I'll have a bunch of redundant checks, even if it's just implementing something I just proved to always work.
If I'm stressed, say an exam, I'll skip any and all checka, even if I'm not even sure if the math is correct and won't accidentally summon a great old one.
Well when developing in a big team (or teamS) some redundant checks might not be the worst idea. Someone WILL break your interface and if you have some checks in place the culprit MAY see what he is doing wrong... MAYBE! (OK, chances are good he just delets your check) ;)
1.3k
u/[deleted] Feb 07 '19
Link please