RSSAmplifier

memdump · Sep 22, 2018

Easy Defensive Programming

0
Sign in to vote or save

This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.

A few months back, I learned about defensive programming at a local C++ meetup. The idea took a little while to sink in. I now rarely write any code without using defensive programming in some way or another. However, it does become tedious to write, especially if you write good error messages. Before delving too deep into the subject, lets discuss the basics.

Read on philippegroarke.com

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.