FREE Subscription to Dr. Dobb’s Digest: Same Great Content, New Digital Edition
Site Archive (Complete)
C++ Blog: An Error You Can't Refuse
C++
void main(void)

Calls, Returns and In-Between.

by Kevin Carlson
SELECTIVE IGNORANCE

Finding the Signal in the Noise

by Andrew Koenig
August 08, 2006

An Error You Can't Refuse

It's notoriously easy to ingore the error code returned by a function. Yet exceptions sometimes seem like too blunt an instrument. The concept of mandatory error codes falls somewhere in the middle, encouraging good practice, yet not detonating the process. In "Mandatory Error Codes Revisited," (http://www.ddj.com/dept/cpp/191601612) Guy Peleg modifies Andrei Alexandrescu's idea, fixing a few niggles that made it problematic.

Posted by Kevin Carlson at 02:24 PM  Permalink




 
INFO-LINK