Defensive Code: What you don’t know will bite you
Defensive Code is an overloaded term. Many articles revolve around topics like the fail fast principle where you verify the bounds of a function before proceeding. There are opinions about the effectiveness and maintainability of a code base with redundant checks. Still, the principle behind defensive code is that Murphy’s…