Chris Cheney’s Blog

Error handling

Posted in FLOSS, Ubuntu, Uncategorized by Chris on June 7, 2010

If your code can have errors, and all but the most trivial code can, then handle them and actually document any error codes you return. Also if your code runs other code that returns errors don’t just store the error in a variable and ignore it, actually do something about it!

That is all.

Advertisements
Tagged with:

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: