Code snippet of the day

Nov 04, 2009 23:00


Handling exceptions is tricky. Opinions vary on whether you should catch and report to a central error handler, only catch exceptions you know how to recover from, or fail-fast and allow exceptions to bubble up until the program exits.

Our email management API takes a different tack:

void CEmailManagerExtension::CMDCreateMailbox ( Read more... )

Leave a comment

Comments 3

gclarke November 5 2009, 17:06:46 UTC
2002? Sweet, then that can't be my fault!

Reply


stiill November 5 2009, 17:52:31 UTC
Haha, what a noob.

The correct approach is obviously Amazon affiliate codes.

Reply

gmcnaughton November 8 2009, 04:30:09 UTC
Haha, that's brilliant! I found this while adding code to block phishing redirects. The question came up of where to send the viewer if we don't recognize the target... it should totally take them to Amazon with my affiliate code. Time for a last-minute checkin!

Reply


Leave a comment

Up