Preventative Programming — how fix to bugs before they happen

I find defensive programming (as I would call it) one of the best tools in a programmer’s arsenal. Checking input values, failing fast, propagating or rethrowing exceptions, ensuring thread and type safety — all these things can give software a robustness that automated testing alone will not provide.

Show your support

Clapping shows how much you appreciated Ian Fairman’s story.