Zen of Defensive Programming: Source Code is Cheap

Now that we’ve covered the preliminaries, it is time to dive into specific examples to illustrate what defensive programming habits you can build to improve your code. More importantly, I’ll also explain, why they are a good choice.

Perhaps the single most important thing to remember is that source code is cheap!

This takes us straight back to the readability pillar. I have worked with a lot of third-party source code throughout my career. From reference implementations to tutorials and ex...

 •  0 comments  •  flag
Share on Twitter
Published on May 02, 2022 11:11
No comments have been added yet.