Re: Dear Coders - Rules You Learned in Kindergarten
Yet more advice that tells you attack those windmills in the hazy distance, eh?
Only rank beginners attempt that kind of stuff.
Jesus Christ, use assertions and programming-by-contract but don't bother going overboard on unit testing. Bail the fuck out if you must and if you don't know what is going on, reset the system (thus being "anti-fragile", maybe?). It's even done in high-assurance software, fail-safe etc..
See also: WORSE IS BETTER
Richard P. Gabriel suggests that a key advantage of Unix was that it embodied a design philosophy he termed "worse is better", in which simplicity of both the interface and the implementation are more important than any other attributes of the system—including correctness, consistency, and completeness. Gabriel argues that this design style has key evolutionary advantages, though he questions the quality of some results.